diff --git a/src/main/frontend/fs/sync.cljs b/src/main/frontend/fs/sync.cljs index 10c491d77a..5d1b4d57bc 100644 --- a/src/main/frontend/fs/sync.cljs +++ b/src/main/frontend/fs/sync.cljs @@ -779,7 +779,7 @@ (declare clj result) result #{}] (if-not (and path metadata) @@ -787,7 +787,7 @@ result (let [normalized-path (path-normalize path) encryptedFname (if (not= path normalized-path) - (first (read-chan! (c (ipc/ipc "get-local-all-files-meta" graph-uuid base-path))))] (if (instance? ExceptionInfo r) r - (build-local-file-metadatas this graph-uuid r c (ipc/ipc "get-local-files-meta" graph-uuid base-path filepaths))))] (assert (not (instance? ExceptionInfo r)) "get-local-files-meta shouldn't return exception") - (build-local-file-metadatas this graph-uuid r c (ipc/ipc "rename-local-file" graph-uuid base-path (path-normalize from) @@ -900,7 +900,7 @@ :basePath base-path}))))] (if (instance? ExceptionInfo r) r - (build-local-file-metadatas this graph-uuid (.-result r) c (.renameLocalFile mobile-util/file-sync