fix: sqlite db apply (#3409)

This commit is contained in:
Peng Xiao
2023-07-27 14:06:06 +00:00
committed by GitHub
parent 3b1aff1db1
commit 2d41cce90f
@@ -30,7 +30,7 @@ const createDatasource = (workspaceId: string): DatasourceDocAdapter => {
}, },
sendDocUpdate: async (guid, update) => { sendDocUpdate: async (guid, update) => {
return window.apis.db.applyDocUpdate( return window.apis.db.applyDocUpdate(
guid, workspaceId,
update, update,
workspaceId === guid ? undefined : guid workspaceId === guid ? undefined : guid
); );