1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

small fix to showPaths option + option to detect disconnections in ris

This commit is contained in:
Massimo Candela
2020-01-23 03:20:09 +01:00
parent 6d962a1ff5
commit 902ac859d1
4 changed files with 42 additions and 23 deletions

View File

@@ -90,7 +90,7 @@ export default class ReportSlack extends Report {
};
report = (channel, content) => {
if (this.enabled){
if (this.enabled) {
const context = this.getContext(channel, content);
let groups = content.data.map(i => i.matchedRule.group).filter(i => i != null);