fix: use access_token

This commit is contained in:
himself65 committed 2023-03-30 18:35:01 -05:00
1 parent f935bbaf5d
commit acac585eb2
2 files changed
+3 -3

No files matched your search

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