mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-11-01 11:56:12 +08:00
remove TODO
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user