MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / logout

Method logout

frontend/src/lib/api/authService.ts:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 async logout(): Promise<{ message: string }> {
42 return apiClient.post<{ message: string }>(
43 "/auth/logout",
44 {},
45 { skipAuth: true }
46 );
47 }
48
49 async requestPasswordReset(email: string): Promise<{ message: string }> {
50 return apiClient.post<{ message: string }>(

Callers 1

authStore.tsFile · 0.45

Calls 1

postMethod · 0.80

Tested by

no test coverage detected