From 03b6aac828aea79678bf541cea1e11b3378abfc0 Mon Sep 17 00:00:00 2001 From: Chris Risner Date: Mon, 29 Jan 2024 12:48:32 -0600 Subject: [PATCH] fix(Api Duration): upped duration for end point --- src/app/api/credit-app/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/credit-app/route.ts b/src/app/api/credit-app/route.ts index a6df0c3..5babc40 100644 --- a/src/app/api/credit-app/route.ts +++ b/src/app/api/credit-app/route.ts @@ -5,6 +5,7 @@ import { withAppRouterHighlight } from '@/app/utils/withAppRouterHighlight' const slackUrl = process.env.SLACK_WEBHOOK_URL const TENANT = process.env.NODE_ENV === 'development' ? 'CLOUD-DEV' : 'CLOUD-PROD' +export const maxDuration = 300 export const POST = withAppRouterHighlight(async (request: Request) => { let payload: Record = { @@ -37,7 +38,6 @@ export const POST = withAppRouterHighlight(async (request: Request) => { headers: { 'Content-Type': 'application/json' }, }) - console.log('d', d.ok) const response = await d.json() console.log('response', response)