Skip to content

Commit

Permalink
fix(nx-dev): restore the name of the supabase env var (#18960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Sep 1, 2023
1 parent 60da797 commit 79678d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-dev/nx-dev/pages/api/query-ai-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import GPT3Tokenizer from 'gpt3-tokenizer';
import { Stream } from 'openai/streaming';

const supabaseUrl = process.env['NX_NEXT_PUBLIC_SUPABASE_URL'];
const supabaseServiceKey = process.env['NX_SUPABASE_SERVICE_ROLE_KEY_ACTUAL'];
const supabaseServiceKey = process.env['NX_SUPABASE_SERVICE_ROLE_KEY'];
const openAiKey = process.env['NX_OPENAI_KEY'];
const tokenCountLimit =
parseInt(process.env['NX_TOKEN_COUNT_LIMIT'] ?? '2500') > 0
Expand Down

1 comment on commit 79678d6

@vercel
Copy link

@vercel vercel bot commented on 79678d6 Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.