Skip to content

Commit

Permalink
check bithomp in env
Browse files Browse the repository at this point in the history
  • Loading branch information
ebedoise committed Aug 1, 2024
1 parent f1759f2 commit ae893f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/poll/src/Choices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const Choices = () => {
.get(`https://bithomp.com/api/v2/nfts`, {
params,
headers: {
'x-bithomp-token': import.meta.env.VITE_BITHOMP_TOKEN,
'x-bithomp-token': envVars.SECRET_BITHOMP,
},
})
.then(({ data }) => data.nfts);
Expand Down
1 change: 1 addition & 0 deletions apps/poll/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const envVars = {
SECRET_SUPABASE: null,
SECRET_CENTER: null,
POSTHOG_KEY: null,
SECRET_BITHOMP: null,
};

const commonConfig = createCommonConfig({ dirname, envVars });
Expand Down

0 comments on commit ae893f4

Please sign in to comment.