Browse Source
fix(edit-monitor): Make json capitalised
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/529/head
Bert Verhelst
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/pages/EditMonitor.vue
|
@ -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; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|