feat(SPG-1124): add comment TODO at controller data scheduling setup
parent
72bc4de42d
commit
c7954f2340
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue