Bugfixes
This commit is contained in:
12
Backend/dist/Integrations/IntegrationApi.js
vendored
12
Backend/dist/Integrations/IntegrationApi.js
vendored
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.IntegrationAPI = void 0;
|
||||
var Logger_1 = require("../Logger");
|
||||
var ActionAPI_1 = require("./ActionAPI");
|
||||
@@ -26,7 +26,7 @@ var IntegrationAPI = /** @class */ (function () {
|
||||
callback(this._actions[actionID].api);
|
||||
}
|
||||
else
|
||||
Logger_1.Log('error', "Integration '" + this._integrationID + "' tried to register duplicate action '" + actionID + "'");
|
||||
(0, Logger_1.Log)('error', "Integration '".concat(this._integrationID, "' tried to register duplicate action '").concat(actionID, "'"));
|
||||
};
|
||||
IntegrationAPI.prototype.registerConnectionValidator = function (connectionType, callback) {
|
||||
if (this._integration.connectionslist.includes(connectionType)) {
|
||||
@@ -34,12 +34,12 @@ var IntegrationAPI = /** @class */ (function () {
|
||||
this._connectionvalidators[connectionType] = callback;
|
||||
}
|
||||
else
|
||||
Logger_1.Log('error', "Integration '" + this
|
||||
._integrationID + "' tried to register duplicate connection validator '" + connectionType + "'");
|
||||
(0, Logger_1.Log)('error', "Integration '".concat(this
|
||||
._integrationID, "' tried to register duplicate connection validator '").concat(connectionType, "'"));
|
||||
}
|
||||
else
|
||||
Logger_1.Log('error', "Integration '" + this
|
||||
._integrationID + "' tried to register non-existing connection validator '" + connectionType + "'");
|
||||
(0, Logger_1.Log)('error', "Integration '".concat(this
|
||||
._integrationID, "' tried to register non-existing connection validator '").concat(connectionType, "'"));
|
||||
};
|
||||
IntegrationAPI.prototype.hasAction = function (actionID) {
|
||||
return this._actions[actionID] != undefined;
|
||||
|
||||
Reference in New Issue
Block a user