From d0168767109d7c1852845919c7dcc9e560c87859 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 19 Jun 2023 13:07:26 +0200 Subject: [PATCH] :bug: Add missing file-id validation on get-page rpc method --- backend/src/app/rpc/commands/files.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/app/rpc/commands/files.clj b/backend/src/app/rpc/commands/files.clj index ca081eac4..d1da43c97 100644 --- a/backend/src/app/rpc/commands/files.clj +++ b/backend/src/app/rpc/commands/files.clj @@ -500,6 +500,7 @@ (sm/def! ::get-page [:map {:title "GetPage"} + [:file-id ::sm/uuid] [:page-id {:optional true} ::sm/uuid] [:object-id {:optional true} ::sm/uuid] [:features {:optional true} ::features]])