summaryrefslogtreecommitdiffstats
path: root/js/setup-storage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/setup-storage.js')
-rw-r--r--js/setup-storage.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/setup-storage.js b/js/setup-storage.js
index 0fe26d2..0fe3fef 100644
--- a/js/setup-storage.js
+++ b/js/setup-storage.js
@@ -16,7 +16,7 @@ async function setupStorage(force = false) {
localforage.setItem("absences", {}),
localforage.setItem("messages", {}),
localforage.setItem("directory", {}),
- localforage.setItem("meals", {})
+ localforage.setItem("meals", {})
];
if(logged_in && force == false) { // torej, če je že bila prijava narejena, ne posodobi backwards-compatible vrednosti (username, password,...)
await Promise.all(promises_update);
@@ -33,4 +33,3 @@ async function setupStorage(force = false) {
console.log("[setupStorage] user not logged in: set up whole database");
}
}
-