"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = PHXGetSettingSite;
const axiosInstance_1 = require("../../../axiosInstance");
async function PHXGetSettingSite({ key }) {
    try {
        const { data: { data }, } = await axiosInstance_1.PHXAxiosInstance.get(`${process.env.NEXT_PUBLIC_API_GATEWAY}/setting/setting-site?key=${key}`);
        return data;
    }
    catch (e) {
        console.error('err set setting site', e);
        throw e;
    }
}
//# sourceMappingURL=get-setting-site.js.map