add controller method

This commit is contained in:
Alex Holliday committed 2025-06-16 12:16:52 +08:00
1 parent bc3801edc0
commit 3cdc21f1be
2 files changed
+16 -3

No files matched your search

-3
View File
@@ -1,4 +1,3 @@
import Monitor from "../db/models/Monitor.js";
import {
getMonitorByIdParamValidation,
getMonitorByIdQueryValidation,
@@ -16,8 +15,6 @@ import {
getHardwareDetailsByIdQueryValidation,
} from "../validation/joi.js";
import sslChecker from "ssl-checker";
import jwt from "jsonwebtoken";
import { getTokenFromHeaders } from "../utils/utils.js";
import logger from "../utils/logger.js";
import { handleError, handleValidationError } from "./controllerUtils.js";
import axios from "axios";