"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.clusterParams = clusterParams;
const cluster_params_1 = require("../components/cluster-params");
const utils_1 = require("../utils");
async function clusterParams(req, res) {
    try {
        const response = await (0, cluster_params_1.getPreloadedClusterParams)(req.params.ytAuthCluster, req.ctx);
        res.status(200).send(response);
    }
    catch (error) {
        (0, utils_1.sendAndLogError)(req.ctx, res, 500, error);
    }
}
