SYNC: fix BE

This commit is contained in:
SPRINX0\prochazka
2025-08-06 16:41:39 +02:00
committed by Diflow
parent 9230a2ab73
commit e97c7ed32e
2 changed files with 6 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ const driver = {
// saveScriptToDatabase({ conid: connection._id, database: name }, `db.createCollection('${newCollection}')`);
},
async stream(dbhan, sql, options) {
if (isProApp) {
if (isProApp()) {
const { NodeDriverServiceProvider } = require('@mongosh/service-provider-node-driver');
const { ElectronRuntime } = require('@mongosh/browser-runtime-electron');