Skip to content

Commit

Permalink
Update env var
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegach committed Jun 22, 2024
1 parent 603ae84 commit 8d7a236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/addon-catalog/.env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ADDONS_API_ENDPOINT
NEXT_PUBLIC_ADDONS_API_ENDPOINT
2 changes: 1 addition & 1 deletion apps/addon-catalog/lib/fetch-addons-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GraphQLClient } from 'graphql-request';

export { gql } from 'graphql-request';

const client = new GraphQLClient(process.env.ADDONS_API_ENDPOINT || '');
const client = new GraphQLClient(process.env.NEXT_PUBLIC_ADDONS_API_ENDPOINT || '');

export async function fetchAddonsQuery<
D,
Expand Down

0 comments on commit 8d7a236

Please sign in to comment.