summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/alert_details/graphql/mutations/alert_todo_create.mutation.graphql
blob: c860bf0915c9833234cbdac10bfa8bc8464b56a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import "~/graphql_shared/fragments/alert_detail_item.fragment.graphql"
#import "~/graphql_shared/fragments/user.fragment.graphql"

mutation alertTodoCreate($projectPath: ID!, $iid: String!) {
  alertTodoCreate(input: { iid: $iid, projectPath: $projectPath }) {
    errors
    alert {
      ...AlertDetailItem
      assignees {
        nodes {
          ...User
        }
      }
    }
  }
}