summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/graphql_shared/mutations/alert_status_update.mutation.graphql
blob: ba1e607bc109dd111c649eae6461778e13107293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "../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
        }
      }
    }
  }
}