mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-15 14:19:41 -06:00
19 lines
476 B
JavaScript
19 lines
476 B
JavaScript
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;
|