Skip to content

Commit

Permalink
Fix isDart parameter in route.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mmvergara committed Jun 22, 2024
1 parent 6585be9 commit b2d1513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/generate/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const GET = async (req: Request): Promise<NextResponse> => {
const { searchParams } = new URL(req.url);
const supabaseUrl = searchParams.get("SUPABASE_URL");
const supabaseAnonKey = searchParams.get("SUPABASE_ANON_KEY");
const isDart = !!searchParams.get("isDart");
const isDart = !!searchParams.get("dart");

if (!supabaseUrl || !supabaseAnonKey) {
return NextResponse.json({
Expand Down

0 comments on commit b2d1513

Please sign in to comment.