new(all): WebDav support for all bots.

This commit is contained in:
Rodrigo Rodriguez 2024-08-31 03:52:37 -03:00
parent 7e1fda84bb
commit 009263d309

View file

@ -222,8 +222,6 @@ export class GBVMService extends GBService {
}
public static async loadConnections(min) {
// Loads storage custom connections.
const path = DialogKeywords.getGBAIPath(min.botId, null);
const filePath = Path.join('work', path, 'connections.json');
@ -368,9 +366,8 @@ export class GBVMService extends GBService {
let con = min[connectionName];
if (!con) {
throw new Error(`Invalid connection specified: ${connectionName}.`);
}
GBLogEx.debug(min, `Invalid connection specified: ${min.bot} ${tableName} ${connectionName}.`);
} else {
// Field checking, syncs if there is any difference.
const seq = con ? con : minBoot.core.sequelize;
@ -447,6 +444,7 @@ export class GBVMService extends GBService {
GBLogEx.info(min, `Done sync for ${min.botId} ${connectionName} ${tableName} storage table...`);
}
}
}
});
}
}