mirror of
https://github.com/penpot/penpot.git
synced 2026-05-04 15:49:34 +00:00
🐛 Fix incorrect feature checking on backend
This commit is contained in:
parent
d10d8eed2b
commit
6ebcead94f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user