()
| 38 | |
| 39 | // logout |
| 40 | export async function DELETE() { |
| 41 | const session = await getIronSession<SessionData>(cookies(), sessionOptions) |
| 42 | |
| 43 | session.destroy() |
| 44 | |
| 45 | return Response.json(defaultSession) |
| 46 | } |
nothing calls this directly
no outgoing calls
no test coverage detected