6 lines
133 B
TypeScript
6 lines
133 B
TypeScript
import type { Ctx } from "blitz";
|
|
|
|
export default async function logout(_ = null, ctx: Ctx) {
|
|
return await ctx.session.$revoke();
|
|
}
|