From 1b3976da47d10524e3a29afa126f0dc42d2d6545 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 15 Dec 2022 12:07:31 +0100 Subject: [PATCH] :paperclip: Add missing doc metadata on comments commands --- backend/src/app/rpc/commands/comments.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/app/rpc/commands/comments.clj b/backend/src/app/rpc/commands/comments.clj index 2e004d83b..2f964397c 100644 --- a/backend/src/app/rpc/commands/comments.clj +++ b/backend/src/app/rpc/commands/comments.clj @@ -86,6 +86,7 @@ (s/keys :req-un [::profile-id ::team-id])) (sv/defmethod ::get-unread-comment-threads + {::doc/added "1.15"} [{:keys [pool] :as cfg} {:keys [profile-id team-id] :as params}] (with-open [conn (db/open pool)] (teams/check-read-permissions! conn profile-id team-id) @@ -133,6 +134,7 @@ :opt-un [::share-id])) (sv/defmethod ::get-comment-thread + {::doc/added "1.15"} [{:keys [pool] :as cfg} {:keys [profile-id file-id id share-id] :as params}] (with-open [conn (db/open pool)] (files/check-comment-permissions! conn profile-id file-id share-id) @@ -160,6 +162,7 @@ :opt-un [::share-id])) (sv/defmethod ::get-comments + {::doc/added "1.15"} [{:keys [pool] :as cfg} {:keys [profile-id thread-id share-id] :as params}] (with-open [conn (db/open pool)] (let [thread (db/get-by-id conn :comment-thread thread-id)]