tango-app-api-store-builder 1.0.0-beta-152 → 1.0.0-beta-153
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,7 +1,7 @@
|
|
|
1
1
|
import * as floorService from '../service/storeBuilder.service.js';
|
|
2
2
|
import { logger, insertOpenSearchData } from 'tango-app-api-middleware';
|
|
3
3
|
// import * as storeService from '../service/store.service.js';
|
|
4
|
-
|
|
4
|
+
import * as planoService from '../service/planogram.service.js';
|
|
5
5
|
import * as storeFixtureService from '../service/storeFixture.service.js';
|
|
6
6
|
import * as fixtureShelfService from '../service/fixtureShelf.service.js';
|
|
7
7
|
// import * as planoProductService from '../service/planoProduct.service.js';
|
|
@@ -519,6 +519,8 @@ export async function updateStorePlano( req, res ) {
|
|
|
519
519
|
}
|
|
520
520
|
} );
|
|
521
521
|
|
|
522
|
+
await planoService.updateOne( { _id: floorData.toObject().planoId }, { $set: { updatedAt: new Date() } } );
|
|
523
|
+
|
|
522
524
|
res.sendSuccess( 'Updated Successfully' );
|
|
523
525
|
} catch ( e ) {
|
|
524
526
|
logger.error( { functionName: 'updateStorePlano', error: e } );
|