Skip to content

Commit

Permalink
reverting some changes to see progress
Browse files Browse the repository at this point in the history
  • Loading branch information
APandamonium1 committed Jun 18, 2024
1 parent 3fc0c65 commit 7c38fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions database.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func database() {

// fetch service account key
// opt := option.WithCredentialsFile("edusync-test-firebase-adminsdk-hk5kl-9af0162b09.json")
// opt := option.WithCredentialsFile("edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
opt := option.WithCredentialsFile("$HOME/secrets/edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
opt := option.WithCredentialsFile("edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
// opt := option.WithCredentialsFile("$HOME/secrets/edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")

app, err := firebase.NewApp(ctx, conf, opt)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func TestDatabaseCRUD(t *testing.T) {
log.Fatalf("DATABASE_URL is not set in the environment variables")
}
conf := &firebase.Config{DatabaseURL: databaseURL}
// opt := option.WithCredentialsFile("edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
opt := option.WithCredentialsFile("$HOME/secrets/edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
opt := option.WithCredentialsFile("edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")
// opt := option.WithCredentialsFile("$HOME/secrets/edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json")

app, err := firebase.NewApp(ctx, conf, opt)
if err != nil {
Expand Down

0 comments on commit 7c38fcb

Please sign in to comment.