mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 11:48:28 +00:00
🐛 Fix linting issue
This commit is contained in:
parent
0f2b2d4590
commit
18849307e9
@ -102,8 +102,7 @@
|
||||
(let [fname (str "imported-file-" (dt/now))
|
||||
file-id (try
|
||||
(uuid/uuid (-> params :file :filename))
|
||||
(catch Exception err
|
||||
(uuid/next)))
|
||||
(catch Exception _ (uuid/next)))
|
||||
file (db/exec-one! pool (sql/select :file {:id file-id}))]
|
||||
(if file
|
||||
(db/update! pool :file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user