@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/microsoft/chat/index.js~
packages/ari/microsoft/chat/index.jsModified+1−5
Index: package/packages/ari/microsoft/chat/index.js
===================================================================
--- package/packages/ari/microsoft/chat/index.js
+++ package/packages/ari/microsoft/chat/index.js
@@ -284,25 +284,21 @@
var microsoftChatAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MicrosoftChatAriResourceOwner,
resourceType: MicrosoftChatAriResourceType,
resourceIdSlug: "chatId/{chatId}/messageId/{messageId}",
resourceIdSegmentFormats: {
chatId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
messageId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/microsoft/chat/index.ts
var MicrosoftChatAri = class _MicrosoftChatAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._chatId = opts.resourceIdSegmentValues.chatId, this._messageId = opts.resourceIdSegmentValues.messageId;
+ super(opts), this._chatId = opts.resourceIdSegmentValues.chatId, this._messageId = opts.resourceIdSegmentValues.messageId;
}
get chatId() {
return this._chatId;
}