Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Fix dateNextUpd on add shop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidglezz committed Nov 26, 2017
1 parent 4331d0f commit 1ea138d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-server/src/controller/ShopController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 1ea138d

Please sign in to comment.