mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Fix linting issue
This commit is contained in:
parent
0f2b2d4590
commit
18849307e9
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue