refactor(plugin): names

This commit is contained in:
charlie
2024-12-30 16:17:41 +08:00
parent 49227f4651
commit 208ca930eb
5 changed files with 16 additions and 17 deletions

View File

@@ -143,8 +143,8 @@
(state/set-state! :plugin/installing pkg)
(-> (load-marketplace-plugins false)
(p/then (fn [mfts]
(let [mft (some #(when (= (:id %) id) %) mfts)]
(p/then (fn [manifests]
(let [mft (some #(when (= (:id %) id) %) manifests)]
;;TODO: (throw (js/Error. [:not-found-in-marketplace id]))
(ipc/ipc :updateMarketPlugin (merge (dissoc pkg :logger) mft)))
true))