feat(SPG-1124): add comment TODO at controller data scheduling setup

pull/165/head
Firman Ramdhani 2025-07-02 20:42:26 +07:00
parent 72bc4de42d
commit c7954f2340
1 changed files with 7 additions and 0 deletions

View File

@ -125,6 +125,13 @@ export class DataSchedulingSetupController {
@Body() data: SetupDataSchedulingDto,
): Promise<DataSchedulingEntity> {
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;
}
}