Browse Source

fix(monitor-checks): add deprecated fields for backward comp.

bertyhell/feature/monitor-checks
Bert Verhelst 4 years ago
parent
commit
e2db15ce64
  1. 4
      server/model/monitor.js

4
server/model/monitor.js

@ -73,6 +73,10 @@ class Monitor extends BeanModel {
notificationIDList,
checks: checks,
tags: tags,
// Deprecated: Use the values in the checks list instead
accepted_statuscodes: JSON.parse(this.accepted_statuscodes_json),
keyword: this.keyword,
};
}

Loading…
Cancel
Save