chore: generate
This commit is contained in:
parent
010b456dfd
commit
4810df0a71
19 changed files with 115 additions and 88 deletions
|
|
@ -211,8 +211,8 @@ export const { use: useNotification, provider: NotificationProvider } = createSi
|
|||
const [syncStore] = serverSync().child(directory, { bootstrap: false })
|
||||
const match = Binary.search(syncStore.session, sessionID, (s) => s.id)
|
||||
if (match.found) return syncStore.session[match.index]
|
||||
return serverSDK().client.session
|
||||
.get({ directory, sessionID })
|
||||
return serverSDK()
|
||||
.client.session.get({ directory, sessionID })
|
||||
.then((x) => x.data)
|
||||
.catch(() => undefined)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue