Browse Source

rename list-file-local-versions

rcmerci 2 years ago
parent
commit
fb8f41077d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/handler/file_sync.cljs

+ 2 - 2
src/main/frontend/handler/file_sync.cljs

@@ -132,7 +132,7 @@
        (when-not (instance? ExceptionInfo r)
          (path/join "logseq" "version-files" key))))))
 
-(defn- list-file-local-versions
+(defn- <list-file-local-versions
   [page]
   (go
     (when-let [path (-> page :block/file :file/path)]
@@ -175,7 +175,7 @@
         (go
           (let [version-list       (:VersionList
                                     (<! (sync/<get-remote-file-versions sync/remoteapi graph-uuid path*)))
-                local-version-list (<! (list-file-local-versions page))
+                local-version-list (<! (<list-file-local-versions page))
                 all-version-list   (->> (concat version-list local-version-list)
                                         (sort-by #(or (:CreateTime %)
                                                       (:create-time %))