mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 18:46:11 +02:00
🐛 Fix incorrect data id assignation on creating a snapshot (#5934)
* 📎 Set proper name to relink-refs mechanism function * 🐛 Fix incorrect id assignation on snapshot file resolution * ♻️ Use uniform api for file retrieval on file snapshot code
This commit is contained in:
parent
786383c25d
commit
15d09eb0d4
8 changed files with 120 additions and 97 deletions
|
@ -97,6 +97,7 @@
|
|||
(th/db-query :file-change
|
||||
{:file-id (:id file)}
|
||||
{:order-by [:created-at]})]
|
||||
|
||||
(t/is (= 2 (count rows)))
|
||||
(t/is (= "user" (:created-by row1)))
|
||||
(t/is (= "system" (:created-by row2)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue