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

This commit is contained in:
Bert Verhelst 2021-10-06 12:57:19 +02:00
parent b0d2084fda
commit e2db15ce64

View file

@ -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,
};
}