mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 10:11:40 +02:00
✨ Add missing type hints on backend code
This commit is contained in:
parent
d094eb3595
commit
68d2afc75d
2 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@
|
|||
|
||||
(defn- retrieve-file
|
||||
[pool file-id]
|
||||
(with-open [conn (db/open pool)]
|
||||
(with-open [^AutoCloseable conn (db/open pool)]
|
||||
(binding [pmap/*load-fn* (partial files/load-pointer conn file-id)]
|
||||
(some-> (db/get* conn :file {:id file-id})
|
||||
(files/decode-row)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue