diff options
author | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-03 17:15:40 +0200 |
---|---|---|
committer | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-03 17:15:40 +0200 |
commit | 5f74d40fa736745651514853afdca3ed44e5ae74 (patch) | |
tree | 84dba0e9a48ae71fb61fb8134d2b895cac8ed34a /food.js | |
parent | cf1dd1d7bd128bf770159032975bc014497507ca (diff) | |
download | LYLLRuoka-5f74d40fa736745651514853afdca3ed44e5ae74.tar.gz LYLLRuoka-5f74d40fa736745651514853afdca3ed44e5ae74.zip |
Made server update foods at monday morning instead of updating them just randomly once a week.
Diffstat (limited to 'food.js')
-rw-r--r-- | food.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ async function buildFoods(DB) } } await Promise.all(foodInitOperations); + console.log("Foods updated.") + return 0; } function getFoodLink(week) |