(response: NextResponse)
| 20 | const TRELLO_STATE_COOKIE_PATH = '/api/auth/trello' |
| 21 | |
| 22 | function clearStateCookie(response: NextResponse) { |
| 23 | response.cookies.delete({ name: TRELLO_STATE_COOKIE, path: TRELLO_STATE_COOKIE_PATH }) |
| 24 | return response |
| 25 | } |
| 26 | |
| 27 | export const POST = withRouteHandler(async (request: NextRequest) => { |
| 28 | try { |