0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Fix incorrect feature checking on backend

This commit is contained in:
Andrey Antukh 2023-11-20 10:20:55 +01:00 committed by Andrés Moya
parent d10d8eed2b
commit 6ebcead94f

View file

@ -141,7 +141,7 @@
:hint (str/ffmt "client declares no support for '%' features"
(str/join "," not-supported)))))
(let [not-supported (set/difference client-features enabled-features)]
(let [not-supported (set/difference client-features supported-features)]
(when (seq not-supported)
(ex/raise :type :restriction
:code :feature-not-supported