mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 08:29:42 -05:00
🐛 Fix incorrect feature checking on backend
This commit is contained in:
parent
d10d8eed2b
commit
6ebcead94f
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@
|
||||||
:hint (str/ffmt "client declares no support for '%' features"
|
:hint (str/ffmt "client declares no support for '%' features"
|
||||||
(str/join "," not-supported)))))
|
(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)
|
(when (seq not-supported)
|
||||||
(ex/raise :type :restriction
|
(ex/raise :type :restriction
|
||||||
:code :feature-not-supported
|
:code :feature-not-supported
|
||||||
|
|
Loading…
Add table
Reference in a new issue