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

Function loadRemote

apps/desktop/src/main/index.ts:1738–1743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1736 null
1737 try {
1738 const loadRemote = async () =>
1739 await setRemoteWorkspace(cfg.remoteWorkspace!.baseUrl, authToken, {
1740 persist: false,
1741 profileId: remoteProfile?.id ?? cfg.remoteWorkspaceProfileId,
1742 vaultPath: remoteProfile?.vaultPath ?? null
1743 })
1744 const result =
1745 win && !win.isDestroyed()
1746 ? await ipcWindowContext.run(win, loadRemote)

Callers 1

Calls 1

setRemoteWorkspaceFunction · 0.85

Tested by

no test coverage detected