Fix(core.gbapp): Schedule enabled.

This commit is contained in:
AlanPerdomo 2023-04-06 11:09:49 -03:00
parent 4809fec457
commit ae6aab7c64

View file

@ -98,7 +98,7 @@ import { WebAutomationServices } from '../../basic.gblib/services/WebAutomationS
import { createKoaHttpServer } from '../../basic.gblib/index.js'; import { createKoaHttpServer } from '../../basic.gblib/index.js';
import { DebuggerService } from '../../basic.gblib/services/DebuggerService.js'; import { DebuggerService } from '../../basic.gblib/services/DebuggerService.js';
import { ImageProcessingServices } from '../../basic.gblib/services/ImageProcessingServices.js'; import { ImageProcessingServices } from '../../basic.gblib/services/ImageProcessingServices.js';
import { ScheduleServices } from '../../basic.gblib/services/ScheduleServices.js';
/** /**
* Minimal service layer for a bot and encapsulation of BOT Framework calls. * Minimal service layer for a bot and encapsulation of BOT Framework calls.
*/ */
@ -237,13 +237,11 @@ export class GBMinService {
GBLogEx.info(0, 'API RPC HTTP Server started.'); GBLogEx.info(0, 'API RPC HTTP Server started.');
// Loads schedules.
// // Loads schedules. GBLog.info(`Preparing SET SCHEDULE dialog calls...`);
// GBLog.info(`Preparing SET SCHEDULE dialog calls...`); const service = new ScheduleServices();
await service.scheduleAll();
// const service = new ScheduleServices();
// await service.scheduleAll();
GBLog.info(`All Bot instances loaded.`); GBLog.info(`All Bot instances loaded.`);
} }