From bfc124b90774145919051ce6be6c165a9afc3997 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 11 Dec 2023 19:00:37 +0100 Subject: [PATCH] :bug: Fix incorrect feature checkong on get-viewer-bundle rpc method --- backend/src/app/rpc/commands/viewer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/viewer.clj b/backend/src/app/rpc/commands/viewer.clj index 6173f388d..7c7223eff 100644 --- a/backend/src/app/rpc/commands/viewer.clj +++ b/backend/src/app/rpc/commands/viewer.clj @@ -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))