test: sync provider (#1754)

This commit is contained in:
Himself65 authored and GitHub committed 2023-03-30 03:22:26 -05:00
1 parent d8d965b9b8
commit 4dd1490eef
4 files changed
+183 -2

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ const createAffineWebSocketProvider = (
blockSuiteWorkspace.id,
blockSuiteWorkspace.doc,
{
params: { token: getLoginStorage()?.token ?? '' },
params: { token: getLoginStorage()?.refresh ?? '' },
// @ts-expect-error ignore the type
awareness: blockSuiteWorkspace.awarenessStore.awareness,
// we maintain broadcast channel by ourselves