Improve validation and error handling on form field
This commit is contained in:
1 parent
0ea3379397
commit
4c2c452b91
9 files changed
+35
-13
No files matched your search
@@ -15,7 +15,6 @@ import {
|
||||
import sslChecker from "ssl-checker";
|
||||
import { fetchMonitorCertificate } from "./controllerUtils.js";
|
||||
import BaseController from "./baseController.js";
|
||||
import { games } from "gamedig";
|
||||
|
||||
const SERVICE_NAME = "monitorController";
|
||||
class MonitorController extends BaseController {
|
||||
@@ -447,7 +446,7 @@ class MonitorController extends BaseController {
|
||||
async (req, res) => {
|
||||
return res.success({
|
||||
msg: "OK",
|
||||
data: games,
|
||||
data: this.monitorService.getAllGames(),
|
||||
});
|
||||
},
|
||||
SERVICE_NAME,
|
||||
|
||||
Reference in new issue
Block a user