shellphone.app/app/auth/mutations/logout.ts

6 lines
124 B
TypeScript
Raw Normal View History

2021-07-31 14:33:18 +00:00
import { Ctx } from "blitz"
export default async function logout(_: any, ctx: Ctx) {
return await ctx.session.$revoke()
}