diff --git a/Server/controllers/distributedUptimeController.js b/Server/controllers/distributedUptimeController.js new file mode 100644 index 000000000..ce4ee2df5 --- /dev/null +++ b/Server/controllers/distributedUptimeController.js @@ -0,0 +1,18 @@ +import { handleError } from "./controllerUtils.js"; +import { successMessages } from "../utils/messages.js"; + +const SERVICE_NAME = "DistributedUptimeQueueController"; + +class DistributedUptimeController { + constructor() {} + + async resultsCallback(req, res, next) { + try { + console.log(req.body); + res.status(200).json({ message: "OK" }); + } catch (error) { + throw handleError(error, SERVICE_NAME, "resultsCallback"); + } + } +} +export default DistributedUptimeController;