Skip to content

Commit

Permalink
fix(Api Duration): upped duration for end point
Browse files Browse the repository at this point in the history
  • Loading branch information
crisner1978 committed Jan 29, 2024
1 parent 52438c1 commit 03b6aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/credit-app/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any> = {
Expand Down Expand Up @@ -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)

Expand Down

1 comment on commit 03b6aac

@vercel
Copy link

@vercel vercel bot commented on 03b6aac Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

credit-app – ./

credit-app-git-main.dev.driv.ly
credit-app.dev.driv.ly
credit.driv.ly

Please sign in to comment.