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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ const createDatasource = (workspaceId: string): DatasourceDocAdapter => {
},
sendDocUpdate: async (guid, update) => {
return window.apis.db.applyDocUpdate(
guid,
workspaceId,
update,
workspaceId === guid ? undefined : guid
);