Add naming consistency changes for file_data_fragment table

This commit is contained in:
Andrey Antukh 2024-08-07 16:18:17 +02:00
parent f8cbe1dfbf
commit 86a732600b
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)))