mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 19:20:40 +00:00
remove TODO
This commit is contained in:
parent
6537f4fe74
commit
f6919aef1d
1 changed files with 0 additions and 1 deletions
|
@ -741,7 +741,6 @@ export default {
|
||||||
* @returns {boolean} Is the form input valid?
|
* @returns {boolean} Is the form input valid?
|
||||||
*/
|
*/
|
||||||
isInputValid() {
|
isInputValid() {
|
||||||
//TODO: Handle validation for all 3 possible options + null value
|
|
||||||
if (this.monitor.body && (!this.monitor.httpBodyEncoding || this.monitor.httpBodyEncoding === "json")) {
|
if (this.monitor.body && (!this.monitor.httpBodyEncoding || this.monitor.httpBodyEncoding === "json")) {
|
||||||
try {
|
try {
|
||||||
JSON.parse(this.monitor.body);
|
JSON.parse(this.monitor.body);
|
||||||
|
|
Loading…
Reference in a new issue