tango-app-api-store-builder 1.0.0-beta-66 → 1.0.0-beta-68
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-store-builder",
|
|
3
|
-
"version": "1.0.0-beta-
|
|
3
|
+
"version": "1.0.0-beta-68",
|
|
4
4
|
"description": "storeBuilder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"joi": "^17.13.3",
|
|
24
24
|
"mongodb": "^6.12.0",
|
|
25
25
|
"nodemon": "^3.1.9",
|
|
26
|
-
"tango-api-schema": "^2.2.
|
|
26
|
+
"tango-api-schema": "^2.2.77",
|
|
27
27
|
"tango-app-api-middleware": "^3.1.48",
|
|
28
28
|
"winston": "^3.17.0",
|
|
29
29
|
"winston-daily-rotate-file": "^5.0.0",
|
|
@@ -471,7 +471,7 @@ export async function updateAnswers( req, res ) {
|
|
|
471
471
|
type: req.body.type,
|
|
472
472
|
};
|
|
473
473
|
|
|
474
|
-
await planoTaskService.updateOne( { fixtureId: req.body.fixtureId, type: req.body.type }, data );
|
|
474
|
+
await planoTaskService.updateOne( { planoId: req.body.planoId, floorId: req.body.floorId, fixtureId: req.body.fixtureId, type: req.body.type, date_string: dayjs().format( 'YYYY-MM-DD' ) }, data );
|
|
475
475
|
return res.sendSuccess( 'Fixture details updated successfully' );
|
|
476
476
|
} catch ( e ) {
|
|
477
477
|
logger.error( { functionName: 'updateAnswers', error: e } );
|
|
@@ -16,4 +16,4 @@ scriptRouter
|
|
|
16
16
|
.post( '/updateinventory', scriptController.updateInventory )
|
|
17
17
|
.post( '/updateRfidProduct', scriptController.updateRfidProduct )
|
|
18
18
|
.post( '/updateRfidProduct2', scriptController.updateRfidProduct2 )
|
|
19
|
-
.post('/getProdTaskData', scriptController.getProdTaskData );
|
|
19
|
+
.post( '/getProdTaskData', scriptController.getProdTaskData );
|