mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 05:41:10 +08:00
Add description to monitor
* Add description to monitor model * Add description field to database * Add english and spanish translation for description * Closes: #482
This commit is contained in:
@@ -31,6 +31,7 @@ class Monitor extends BeanModel {
|
||||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
description: this.description,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,6 +55,7 @@ class Monitor extends BeanModel {
|
||||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
description: this.description,
|
||||
url: this.url,
|
||||
method: this.method,
|
||||
body: this.body,
|
||||
|
Reference in New Issue
Block a user