Skip to content
Snippets Groups Projects
Unverified Commit 9f41e1d2 authored by Case Nelson's avatar Case Nelson Committed by GitHub
Browse files

Hydrate :persisted on Card PUT (#23239)

We want to make sure that the :persisted hydration is returned when
updating a card's description.
parent 2024d6d8
No related branches found
No related tags found
No related merge requests found
......@@ -520,6 +520,7 @@
:average_query_time
:last_query_start
:collection [:moderation_reviews :moderator_details])
(cond-> (:dataset card) (hydrate :persisted))
(assoc :last-edit-info (last-edit/edit-information-for-user @api/*current-user*))))))
(api/defendpoint ^:returns-chan PUT "/:id"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment