mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-12 01:04:36 -05:00
fix(edit-monitor): Make json capitalised
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
3f0b85e5a8
commit
7ee89fab5c
@ -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 New Issue
Block a user