tango-app-api-task 3.7.42 → 3.7.44
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
|
@@ -6072,6 +6072,10 @@ async function insertStoreHygienetaskSingleProcessedTask( checkTask, inputBody,
|
|
|
6072
6072
|
},
|
|
6073
6073
|
];
|
|
6074
6074
|
|
|
6075
|
+
if ( inputBody?.detectionTime ) {
|
|
6076
|
+
question[0].answers[0].detectionTime = inputBody.detectionTime;
|
|
6077
|
+
}
|
|
6078
|
+
|
|
6075
6079
|
let images = [];
|
|
6076
6080
|
for ( let imgpath of inputBody.referenceImage ) {
|
|
6077
6081
|
let configURL = JSON.parse( process.env.BUCKET );
|
|
@@ -7334,6 +7338,8 @@ export async function AITaskCreation( req, res ) {
|
|
|
7334
7338
|
|
|
7335
7339
|
if ( inputBody.reason ) {
|
|
7336
7340
|
answer[0].reason = inputBody.reason;
|
|
7341
|
+
}
|
|
7342
|
+
if ( inputBody.detectionTime ) {
|
|
7337
7343
|
answer[0].detectionTime = inputBody.detectionTime;
|
|
7338
7344
|
}
|
|
7339
7345
|
|
package/src/dtos/task.dto.js
CHANGED