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

Function setVaultSettings

apps/web/src/bridge/http-bridge.ts:296–301  ·  view source on GitHub ↗
(next: VaultSettings)

Source from the content-addressed store, hash-verified

294}
295
296function setVaultSettings(next: VaultSettings): Promise<VaultSettings> {
297 return jsonRequest<VaultSettings>('/vault/settings', {
298 method: 'POST',
299 body: next as unknown as Record<string, unknown>
300 })
301}
302
303// Workspace state lives in the desktop vault's .zennotes/ on disk (#292); the
304// web build has no local vault filesystem, so these are no-ops.

Callers

nothing calls this directly

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected