diff options
Diffstat (limited to 'app/graphql/mutations/notes/update/note.rb')
-rw-r--r-- | app/graphql/mutations/notes/update/note.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app/graphql/mutations/notes/update/note.rb b/app/graphql/mutations/notes/update/note.rb index 73b9b9bc49a..11d8c6e2cb9 100644 --- a/app/graphql/mutations/notes/update/note.rb +++ b/app/graphql/mutations/notes/update/note.rb @@ -5,16 +5,17 @@ module Mutations module Update class Note < Mutations::Notes::Update::Base graphql_name 'UpdateNote' + description "Updates a Note.\n#{QUICK_ACTION_ONLY_WARNING}" argument :body, - GraphQL::STRING_TYPE, - required: false, - description: copy_field_description(Types::Notes::NoteType, :body) + GraphQL::STRING_TYPE, + required: false, + description: copy_field_description(Types::Notes::NoteType, :body) argument :confidential, - GraphQL::BOOLEAN_TYPE, - required: false, - description: 'The confidentiality flag of a note. Default is false.' + GraphQL::BOOLEAN_TYPE, + required: false, + description: 'The confidentiality flag of a note. Default is false.' private |