SAP-BTP-Spielwiese/app1/node_modules/@sap/audit-logging/lib/base-messages/ConfigurationChangeBase.js
Markus Rettig 775ac7b58c completed step 3 from the tutorial
you must login with an BTP account in order to see the app
2024-02-08 16:13:36 +01:00

20 lines
567 B
JavaScript

'use strict';
var utils = require('../utils');
var MessageBase = require('./MessageBase');
module.exports = ConfigurationChangeBase;
function ConfigurationChangeBase(content, transport) {
MessageBase.call(this, content, transport);
this._endpoint = 'configuration-changes';
this._content.attributes = [];
}
require('util').inherits(ConfigurationChangeBase, MessageBase);
ConfigurationChangeBase.prototype._validateContent = function () {
MessageBase.prototype._validateContent.call(this);
utils.validate.attributesLength(this._content.attributes);
};