mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 12:21:38 +02:00
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:
commit
6ee9025f13
13 changed files with 44 additions and 35 deletions
|
@ -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')
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue