Skip to content

Commit

Permalink
fix(nx-dev): restore the name of the supabase env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Sep 1, 2023
1 parent 1931390 commit 1701289
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

0 comments on commit 1701289

Please sign in to comment.