From 1ea138d018c593768bbf4875939d4f14c4318af1 Mon Sep 17 00:00:00 2001 From: davidglezz Date: Sun, 26 Nov 2017 12:00:37 +0100 Subject: [PATCH] Fix dateNextUpd on add shop --- api-server/src/controller/ShopController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-server/src/controller/ShopController.ts b/api-server/src/controller/ShopController.ts index 3bfa7a3..867b38e 100644 --- a/api-server/src/controller/ShopController.ts +++ b/api-server/src/controller/ShopController.ts @@ -77,7 +77,7 @@ export class ShopController { /*if (typeof shop.dateNextUpd === 'string') { shop.dateNextUpd = new Date(shop.dateNextUpd) }*/ - shop.dateNextUpd = new Date(0) + shop.dateNextUpd = new Date(86400000) // return this.repository.save(shop) }