diff --git a/src/modules/configuration/data-scheduling/infrastructure/data-scheduling-data.controller.ts b/src/modules/configuration/data-scheduling/infrastructure/data-scheduling-data.controller.ts index 03b04db..075116c 100644 --- a/src/modules/configuration/data-scheduling/infrastructure/data-scheduling-data.controller.ts +++ b/src/modules/configuration/data-scheduling/infrastructure/data-scheduling-data.controller.ts @@ -109,7 +109,6 @@ export class DataSchedulingDefaultController { @Get() async get(): Promise { - console.log('here'); return await this.manager.getData(); } } @@ -125,6 +124,13 @@ export class DataSchedulingSetupController { @Body() data: SetupDataSchedulingDto, ): Promise { console.log('payload scheduling setup', { data }); + + // TODO: Implement logic for "Send to Black Hole" configuration. + // 1. Retrieve the relevant scheduling configuration based on the date provided in the request body. + // 2. If a specific scheduling configuration is found, apply its values to the main 'configuration' table. + // These values will then be used for the "Send to Black Hole" logic. + // 3. If no specific scheduling configuration is found for the given date, update the 'configuration' table + // with values from the 'data scheduling default' settings instead. return; } }