summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/graphql_shared/mutations/update_alert_status.mutation.graphql
blob: 42dc388c9d18c013bd7dfb130970d12b8f89dca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "~/graphql_shared/fragments/alert_note.fragment.graphql"

mutation updateAlertStatus($projectPath: ID!, $status: AlertManagementStatus!, $iid: String!) {
  updateAlertStatus(input: { iid: $iid, status: $status, projectPath: $projectPath }) {
    errors
    alert {
      iid
      status
      endedAt
      notes {
        nodes {
          ...AlertNote
        }
      }
    }
  }
}