MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / loginServerSession

Function loginServerSession

apps/web/src/bridge/http-bridge.ts:251–256  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

249}
250
251function loginServerSession(token: string): Promise<ServerSessionStatus> {
252 return jsonRequest<ServerSessionStatus>('/session/login', {
253 method: 'POST',
254 body: { token }
255 })
256}
257
258function logoutServerSession(): Promise<ServerSessionStatus> {
259 return jsonRequest<ServerSessionStatus>('/session/logout', {

Callers

nothing calls this directly

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected