0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

🐛 Fix incorrect feature checkong on get-viewer-bundle rpc method

This commit is contained in:
Andrey Antukh 2023-12-11 19:00:37 +01:00
parent afa735a9c1
commit bfc124b907

View file

@ -40,7 +40,7 @@
_ (-> (cfeat/get-team-enabled-features cf/flags team)
(cfeat/check-client-features! (:features params))
(cfeat/check-file-features! (:features file) (:features params)))
(cfeat/check-file-features! (:features file)))
file (cond-> file
(= :share-link (:type perms))