mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 16:36:00 +00:00
app commands works
This commit is contained in:
@@ -178,6 +178,9 @@ module.exports = {
|
||||
res = await this.datastore.insert(encrypted);
|
||||
}
|
||||
socket.emitChanged('connection-list-changed');
|
||||
for (const db of connection.databases || []) {
|
||||
socket.emitChanged(`db-apps-changed-${connection._id}-${db.name}`);
|
||||
}
|
||||
return res;
|
||||
},
|
||||
|
||||
@@ -201,6 +204,7 @@ module.exports = {
|
||||
}
|
||||
const res = await this.datastore.update({ _id: conid }, { $set: { databases } });
|
||||
socket.emitChanged('connection-list-changed');
|
||||
socket.emitChanged(`db-apps-changed-${conid}-${database}`);
|
||||
return res;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user