MCPcopy Index your code
hub / github.com/simstudioai/sim / clearStateCookie

Function clearStateCookie

apps/sim/app/api/auth/trello/store/route.ts:22–25  ·  view source on GitHub ↗
(response: NextResponse)

Source from the content-addressed store, hash-verified

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

Callers 1

route.tsFile · 0.85

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected