🐛 Fix call to exporter and exporter setup in devenv

This commit is contained in:
Andrés Moya 2022-04-06 12:53:41 +02:00
parent c2c01831fb
commit a61301c698
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ yarn install
popd popd
pushd ~/penpot/exporter/ pushd ~/penpot/exporter/
yarn install yarn install
npx playwright install chromium
popd popd
tmux -2 new-session -d -s penpot tmux -2 new-session -d -s penpot

View file

@ -165,7 +165,7 @@
:wait true}] :wait true}]
(rx/concat (rx/concat
(rx/of ::dwp/force-persist) (rx/of ::dwp/force-persist)
(->> (rp/query! :export-shapes params) (->> (rp/query! :exporter params)
(rx/mapcat (fn [{:keys [id filename]}] (rx/mapcat (fn [{:keys [id filename]}]
(->> (rp/query! :exporter {:cmd :get-resource :blob? true :id id}) (->> (rp/query! :exporter {:cmd :get-resource :blob? true :id id})
(rx/map (fn [data] (rx/map (fn [data]