MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / delete

Method delete

lib/models/user.ts:203–210  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

201 }
202
203 static async delete(sessionId: string) {
204 await db.query(
205 sql`DELETE FROM "bewcloud_user_sessions" WHERE "id" = $1`,
206 [
207 sessionId,
208 ],
209 );
210 }
211}
212
213export async function validateUserAndSession(userId: string, sessionId: string) {

Callers

nothing calls this directly

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected