From 682a18132d564107456271c6a5d64f757b638e3f Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Fri, 16 Feb 2024 09:31:54 +0100 Subject: [PATCH] fix exception at startup sync --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 4bc4c98..ac2f832 100644 --- a/main.js +++ b/main.js @@ -1336,7 +1336,7 @@ function pushall() function fetchandserialize(guid) { - var name = metadata[guid] ? metadata[guid] : guid; + var name = (metadata && metadata[guid]) ? metadata[guid] : guid; console.log("fetching '" + name + "'"); return queryremote({action: "fetch", name: guid}) .then(content =>