Fix(core.gbapp): Schedule enabled.
This commit is contained in:
parent
4809fec457
commit
ae6aab7c64
1 changed files with 6 additions and 8 deletions
|
@ -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.
|
||||||
|
|
||||||
|
GBLog.info(`Preparing SET SCHEDULE dialog calls...`);
|
||||||
// // Loads schedules.
|
const service = new ScheduleServices();
|
||||||
// GBLog.info(`Preparing SET SCHEDULE dialog calls...`);
|
await service.scheduleAll();
|
||||||
|
|
||||||
// const service = new ScheduleServices();
|
|
||||||
// await service.scheduleAll();
|
|
||||||
|
|
||||||
GBLog.info(`All Bot instances loaded.`);
|
GBLog.info(`All Bot instances loaded.`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue