Add missing type hints on backend code

This commit is contained in:
Andrey Antukh 2022-12-22 15:12:38 +01:00
parent d094eb3595
commit 68d2afc75d
2 changed files with 2 additions and 2 deletions

View file

@ -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)