Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ getCurrentUser
Method
getCurrentUser
frontend/src/lib/api/authService.ts:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
async
getCurrentUser(): Promise<User> {
38
return
apiClient.get<User>(
"/auth/me"
);
39
}
40
41
async
logout(): Promise<{ message: string }> {
42
return
apiClient.post<{ message: string }>(
Callers
1
authStore.ts
File · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected