0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

📎 Minor improvement on main ns on srepl module.

This commit is contained in:
Andrey Antukh 2021-02-08 13:36:46 +01:00 committed by Hirunatan
parent a709c47f6f
commit dbbe1f7df2

View file

@ -38,7 +38,7 @@
{:id id})))
(defn get-file
[id]
[system id]
(with-open [conn (db/open (:app.db/pool system))]
(let [file (db/get-by-id conn :file id)]
(-> file