n8n-nodes-binalyze-air
Version:
Binalyze AIR nodes for automating DFIR with n8n workflows
13 lines • 596 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.api = void 0;
const helpers_1 = require("../../utils/helpers");
exports.api = {
async updateBannerMessage(context, credentials, data) {
const requestOptions = (0, helpers_1.buildRequestOptionsWithErrorHandling)(credentials, 'PUT', '/api/public/settings/banner');
requestOptions.body = data;
const response = await (0, helpers_1.makeApiRequestWithErrorHandling)(context, requestOptions, 'update banner message');
return response;
},
};
//# sourceMappingURL=settings.js.map