update outgoing call duration every 30 seconds until the call is over

This commit is contained in:
m5r
2021-08-30 20:53:21 +08:00
parent 6a2e76857b
commit ab004235f6
8 changed files with 131 additions and 157 deletions

View File

@ -1,5 +1,5 @@
import { Ctx } from "blitz";
export default async function logout(_: any, ctx: Ctx) {
export default async function logout(_ = null, ctx: Ctx) {
return await ctx.session.$revoke();
}