fix(all): Fix answers with dialog id working again.

This commit is contained in:
Rodrigo Rodriguez 2023-07-25 08:31:39 -03:00
parent 6b832c42b6
commit a24648cc9f

View file

@ -218,6 +218,8 @@ export class GBMinService {
return '1'; // share a single session for now, real impl could use cookies or some other meaning for HTTP sessions
}
GBLogEx.info(0, 'Loading General Bots API...');
let proxies = {};
await CollectionUtil.asyncForEach(instances, async instance => {
const proxy = {
@ -236,11 +238,9 @@ export class GBMinService {
opts
);
GBLogEx.info(0, 'API RPC HTTP Server started.');
// Loads schedules.
GBLog.info(`Preparing SET SCHEDULE dialog calls...`);
GBLog.info(`Loading SET SCHEDULE entries...`);
const service = new ScheduleServices();
await service.scheduleAll();