tango-app-api-store-builder 1.0.0-beta-190 → 1.0.0-beta-192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -147,6 +147,7 @@ export async function createTask( req, res ) {
|
|
|
147
147
|
response = await processedService.create( payload );
|
|
148
148
|
} else {
|
|
149
149
|
await processedService.updateOne( { _id: req.body.taskId }, payload );
|
|
150
|
+
await planoTaskService.updateOne( { taskId: req.body.taskId, status: 'complete' }, { taskType: 'initial' } );
|
|
150
151
|
response = { _id: req.body.taskId };
|
|
151
152
|
}
|
|
152
153
|
return res.sendSuccess( { message: 'Task redo triggered successfully', taskId: response?._id } );
|