ask user test

This commit is contained in:
SPRINX0\prochazka
2025-01-07 13:38:47 +01:00
parent e531a35f37
commit a48c23d169
2 changed files with 4 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ module.exports = {
},
test_meta: true,
test({ connection, requestDbList }) {
test({ connection, requestDbList = false }) {
const subprocess = fork(
global['API_PACKAGE'] || process.argv[1],
[
@@ -267,7 +267,7 @@ module.exports = {
}
if (test) {
const testRes = await this.test(res);
const testRes = await this.test({ connection: res });
if (testRes.msgtype == 'connected') {
volatileConnections[res._id] = res;
return {