Skip to content

Commit 06afb33

Browse files
authored
Remove resolved and acknowledged filters as we switched to status (#1201)
# What this PR does ## Which issue(s) this PR fixes ## Checklist - [ ] Tests updated - [ ] Documentation added - [ ] `CHANGELOG.md` updated
1 parent a16e05c commit 06afb33

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/models/alertgroup/alertgroup.ts

-6
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ export class AlertGroupStore extends BaseStore {
314314
const result = await makeRequest(`${this.path}stats/`, {
315315
params: {
316316
...this.incidentFilters,
317-
resolved: false,
318-
acknowledged: false,
319317
status: [IncidentStatus.New],
320318
},
321319
});
@@ -327,8 +325,6 @@ export class AlertGroupStore extends BaseStore {
327325
const result = await makeRequest(`${this.path}stats/`, {
328326
params: {
329327
...this.incidentFilters,
330-
resolved: false,
331-
acknowledged: true,
332328
status: [IncidentStatus.Acknowledged],
333329
},
334330
});
@@ -341,7 +337,6 @@ export class AlertGroupStore extends BaseStore {
341337
const result = await makeRequest(`${this.path}stats/`, {
342338
params: {
343339
...this.incidentFilters,
344-
resolved: true,
345340
status: [IncidentStatus.Resolved],
346341
},
347342
});
@@ -354,7 +349,6 @@ export class AlertGroupStore extends BaseStore {
354349
const result = await makeRequest(`${this.path}stats/`, {
355350
params: {
356351
...this.incidentFilters,
357-
silenced: true,
358352
status: [IncidentStatus.Silenced],
359353
},
360354
});

0 commit comments

Comments
 (0)