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