mirror of
https://github.com/colanode/colanode.git
synced 2026-09-01 19:50:56 +02:00
Fix query subscription in web (#262)
This commit is contained in:
@@ -369,7 +369,7 @@ const api: ColanodeWorkerApi = {
|
||||
return Promise.reject(new Error('App not initialized'));
|
||||
}
|
||||
|
||||
return app.mediator.executeQuery(input);
|
||||
return app.mediator.executeQueryAndSubscribe(key, windowId, input);
|
||||
},
|
||||
async unsubscribeQuery(key) {
|
||||
if (!appInitOutput) {
|
||||
|
||||
Reference in New Issue
Block a user