diff options
Diffstat (limited to 'app/graphql/mutations/alert_management/alerts/set_assignees.rb')
-rw-r--r-- | app/graphql/mutations/alert_management/alerts/set_assignees.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/alert_management/alerts/set_assignees.rb b/app/graphql/mutations/alert_management/alerts/set_assignees.rb index 517c20a85d0..c986111d290 100644 --- a/app/graphql/mutations/alert_management/alerts/set_assignees.rb +++ b/app/graphql/mutations/alert_management/alerts/set_assignees.rb @@ -7,14 +7,14 @@ module Mutations graphql_name 'AlertSetAssignees' argument :assignee_usernames, - [GraphQL::STRING_TYPE], + [GraphQL::Types::String], required: true, - description: 'The usernames to assign to the alert. Replaces existing assignees by default.' + description: 'Usernames to assign to the alert. Replaces existing assignees by default.' argument :operation_mode, Types::MutationOperationModeEnum, required: false, - description: 'The operation to perform. Defaults to REPLACE.' + description: 'Operation to perform. Defaults to REPLACE.' def resolve(args) alert = authorized_find!(project_path: args[:project_path], iid: args[:iid]) |