mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 19:20:40 +00:00
fix(edit-monitor): Make json capitalised
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
3f0b85e5a8
commit
7ee89fab5c
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
JSON.parse(this.monitor.body);
|
JSON.parse(this.monitor.body);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error(this.$t("The request body is not valid json: ") + err.message);
|
toast.error(this.$t("The request body is not valid JSON: ") + err.message);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue