feat: !cron in res.send

This commit is contained in:
karishmas6
2024-09-13 07:56:11 +05:30
parent 0368712678
commit 77bef40d58

View File

@@ -268,7 +268,7 @@ router.put('/schedule/:fileName/', async (req, res) => {
res.status(200).json({ res.status(200).json({
message: 'Workflow scheduled successfully', message: 'Workflow scheduled successfully',
runId, runId,
cronExpression, // cronExpression,
// nextRunTime: getNextRunTime(cronExpression, timezone) // nextRunTime: getNextRunTime(cronExpression, timezone)
}); });