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..a40f404 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 @@ -125,6 +125,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; } }