tango-app-api-audit 1.0.27 → 1.0.28
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
|
@@ -1209,7 +1209,7 @@ export async function reTrigger( req, res ) {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
1211
|
const storeRecord ={
|
|
1212
|
-
status:
|
|
1212
|
+
status: req.audit.status !== 'completed' ? 'skipped': 'not_assign',
|
|
1213
1213
|
};
|
|
1214
1214
|
|
|
1215
1215
|
await updateOneStoreAudit( query, storeRecord );
|
|
@@ -1264,7 +1264,7 @@ export async function reTrigger( req, res ) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
|
|
1266
1266
|
const storeRecord ={
|
|
1267
|
-
status:
|
|
1267
|
+
status: req.audit.status !== 'completed' ? 'skipped': 'assigned',
|
|
1268
1268
|
};
|
|
1269
1269
|
|
|
1270
1270
|
await updateOneStoreAudit( query, storeRecord );
|