mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
🐛 Fix issue on db/get-connectable impl
This commit is contained in:
parent
2abf151add
commit
6bff6d24b9
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@
|
||||||
(cond
|
(cond
|
||||||
(connection? o) o
|
(connection? o) o
|
||||||
(pool? o) o
|
(pool? o) o
|
||||||
(map? o) (get-connectable (or (:conn o) (::pool o)))
|
(map? o) (get-connectable (or (::conn o) (::pool o)))
|
||||||
:else (ex/raise :type :internal
|
:else (ex/raise :type :internal
|
||||||
:code :unable-resolve-connectable
|
:code :unable-resolve-connectable
|
||||||
:hint "expected conn, pool or system")))
|
:hint "expected conn, pool or system")))
|
||||||
|
|
Loading…
Add table
Reference in a new issue