mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 11:41:42 +02:00
✨ Fix inconsistencies on storage backend usage.
This commit is contained in:
parent
80ab6bbda2
commit
efa5120fac
10 changed files with 41 additions and 34 deletions
|
@ -9,7 +9,6 @@
|
|||
[app.common.pages.migrations :as pmg]
|
||||
[app.common.spec :as us]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.db :as db]
|
||||
[app.rpc.permissions :as perms]
|
||||
[app.rpc.queries.projects :as projects]
|
||||
|
@ -175,7 +174,7 @@
|
|||
|
||||
(defn- retrieve-data*
|
||||
[{:keys [storage] :as cfg} file]
|
||||
(when-let [backend (simpl/resolve-backend storage (cf/get :fdata-storage-backend))]
|
||||
(when-let [backend (simpl/resolve-backend storage (:data-backend file))]
|
||||
(simpl/get-object-bytes backend file)))
|
||||
|
||||
(defn retrieve-data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue