MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / logoutUser

Function logoutUser

frontend/src/api/auth.ts:139–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 * 退出登录
138 */
139export async function logoutUser(): Promise<void> {
140 try {
141 await http.get('/exits/');
142 } catch {
143 // 忽略错误,继续前端清理
144 }
145}

Callers 1

useAuthStore.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected