@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/slack/channel/index.js~
packages/ari/slack/channel/index.jsModified+1−5
Index: package/packages/ari/slack/channel/index.js
===================================================================
--- package/packages/ari/slack/channel/index.js
+++ package/packages/ari/slack/channel/index.js
@@ -284,25 +284,21 @@
var slackChannelAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: SlackChannelAriResourceOwner,
resourceType: SlackChannelAriResourceType,
resourceIdSlug: "workspaceId/{workspaceId}/channelId/{channelId}",
resourceIdSegmentFormats: {
workspaceId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
channelId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/slack/channel/index.ts
var SlackChannelAri = class _SlackChannelAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._channelId = opts.resourceIdSegmentValues.channelId;
+ super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._channelId = opts.resourceIdSegmentValues.channelId;
}
get workspaceId() {
return this._workspaceId;
}