MCPcopy Create free account
hub / github.com/TheNetsky/Microsoft-Rewards-Script / deleteSession

Function deleteSession

src/util/SessionStore.ts:109–111  ·  view source on GitHub ↗
(sessionPath: string, email: string, isMobile: boolean)

Source from the content-addressed store, hash-verified

107
108// Unused
109export function deleteSession(sessionPath: string, email: string, isMobile: boolean): void {
110 getDb(sessionPath).prepare('DELETE FROM sessions WHERE email = ? AND platform = ?').run(email, platformOf(isMobile))
111}
112
113export function closeSessionStore(): void {
114 if (!db) return

Callers

nothing calls this directly

Calls 4

getDbFunction · 0.85
platformOfFunction · 0.85
runMethod · 0.80
prepareMethod · 0.65

Tested by

no test coverage detected