"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServerDate = void 0;
const getServerDate = async (req, res, next) => {
    try {
        const date = new Date();
        res.status(200).json({ date });
    }
    catch (error) {
        next(error);
    }
};
exports.getServerDate = getServerDate;
