Skip to content

Commit

Permalink
chore: update the api routes with the api being called 2
Browse files Browse the repository at this point in the history
  • Loading branch information
WomB0ComB0 committed Sep 30, 2024
1 parent 96130d3 commit 8102c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/v1/user/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
import superjson from 'superjson';
import { schema, type Schema } from '@/app/api/v1/'

const API = process.env.NEXT_PUBLIC_API;
const API = process.env.NEXT_PUBLIC_API_URL;

if (typeof API === undefined) {
throw new Error('API is not defined.')
Expand Down

0 comments on commit 8102c02

Please sign in to comment.