Merge pull request #4971 from penpot/niwinz-fdata-storage-offload-2

 Add naming consistency changes for file_data_fragment table
This commit is contained in:
Alejandro 2024-08-08 07:41:54 +02:00 committed by GitHub
commit 6ee9025f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 44 additions and 35 deletions

View file

@ -134,7 +134,7 @@
(uuid? share-id)
(assoc :share-id share-id))]
(->> (rp/cmd! :get-file-fragment params)
(rx/map :content)
(rx/map :data)
(rx/map #(vector key %)))))]
(->> (rp/cmd! :get-view-only-bundle params')

View file

@ -16,7 +16,7 @@
(letfn [(resolve-pointer [[key val :as kv]]
(if (t/pointer? val)
(->> (rp/cmd! :get-file-fragment {:file-id id :fragment-id @val})
(rx/map #(get % :content))
(rx/map #(get % :data))
(rx/map #(vector key %)))
(rx/of kv)))