mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-07 21:42:34 +02:00
fix(monitor-checks): add deprecated fields for backward comp.
This commit is contained in:
parent
b0d2084fda
commit
e2db15ce64
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue