fix: build issues
This commit is contained in:
parent
8f102d2ca4
commit
1dc04a8752
@ -1,11 +1,5 @@
|
|||||||
POSTGRES_DATABASE="verceldb"
|
|
||||||
POSTGRES_HOST="localhost:5480"
|
|
||||||
POSTGRES_PASSWORD="postgres"
|
|
||||||
POSTGRES_PRISMA_URL="postgres://postgres:postgres@localhost:5480/verceldb?pgbouncer=true&connect_timeout=15"
|
|
||||||
POSTGRES_SSL="false"
|
POSTGRES_SSL="false"
|
||||||
POSTGRES_URL="postgres://postgres:postgres@localhost:5480/verceldb"
|
POSTGRES_URL="postgres://postgres:postgres@localhost:5480/verceldb"
|
||||||
POSTGRES_URL_NON_POOLING="postgres://postgres:postgres@localhost:5480/verceldb"
|
|
||||||
POSTGRES_USER="postgres"
|
|
||||||
|
|
||||||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
|
||||||
CLERK_SECRET_KEY=
|
CLERK_SECRET_KEY=
|
||||||
|
@ -90,9 +90,11 @@ export async function POST(request: Request) {
|
|||||||
inputs,
|
inputs,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ('error' in run_id) throw new Error(run_id.error);
|
||||||
|
|
||||||
return NextResponse.json(
|
return NextResponse.json(
|
||||||
{
|
{
|
||||||
run_id: run_id.workflow_run_id,
|
run_id: ('workflow_run_id' in run_id) ? run_id.workflow_run_id : '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
status: 200,
|
status: 200,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user