Skip to content

Commit

Permalink
Merge pull request #38 from hypercerts-org/feat/supabase_ci_and_db_tw…
Browse files Browse the repository at this point in the history
…eaks

chore(fix): sb env vars
  • Loading branch information
bitbeckers authored Apr 24, 2024
2 parents 1c54bc4 + 9858864 commit ea1c7dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ALCHEMY_API_KEY=
### DATABASE ###

## Supabase config
SUPABASE_HC_URL=
SUPABASE_HC_METADATA_API_KEY=
SUPABASE_DB_URL=
SUPABASE_ANON_API_KEY=

### MONITORING ###

Expand Down
4 changes: 2 additions & 2 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export const alchemyApiKey = assertExists(
export const port = Number(assertExists(process.env.PORT, "Port"));

export const supabaseApiKey = assertExists(
process.env.SUPABASE_HC_METADATA_API_KEY,
process.env.SUPABASE_ANON_API_KEY,
"Supabase API key",
);

export const supabaseUrl = assertExists(
process.env.SUPABASE_HC_URL,
process.env.SUPABASE_DB_URL,
"Supabase URL",
);

Expand Down

0 comments on commit ea1c7dd

Please sign in to comment.