0
Fork 0
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:
Andrey Antukh 2023-11-30 13:09:10 +01:00 committed by Andrés Moya
parent 2abf151add
commit 6bff6d24b9

View file

@ -254,7 +254,7 @@
(cond
(connection? 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
:code :unable-resolve-connectable
:hint "expected conn, pool or system")))