Skip to content

Commit

Permalink
#1541 Fix alert merge into case process to use API v1 attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Oct 19, 2020
1 parent 1af72f9 commit 2cf110a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/app/scripts/controllers/alert/AlertEventCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
});

caseModal.result.then(function(selectedCase) {
self.mergeIntoCase(selectedCase.id);
self.mergeIntoCase(selectedCase._id);
}).catch(function(err) {
if(err && !_.isString(err)) {
NotificationSrv.error('AlertEventCtrl', err.data, err.status);
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/scripts/controllers/alert/AlertListCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
});

caseModal.result.then(function(selectedCase) {
return AlertingSrv.bulkMergeInto(_.pluck(self.selection, '_id'), selectedCase.id);
return AlertingSrv.bulkMergeInto(_.pluck(self.selection, '_id'), selectedCase._id);
})
.then(function(response) {
$rootScope.$broadcast('alert:event-imported');
Expand Down

0 comments on commit 2cf110a

Please sign in to comment.