@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/trello/avatar/index.js~
packages/ari/trello/avatar/index.jsModified+1−5
Index: package/packages/ari/trello/avatar/index.js
===================================================================
--- package/packages/ari/trello/avatar/index.js
+++ package/packages/ari/trello/avatar/index.js
@@ -284,25 +284,21 @@
var trelloAvatarAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: TrelloAvatarAriResourceOwner,
resourceType: TrelloAvatarAriResourceType,
resourceIdSlug: "member/{memberId}/{avatarHash}",
resourceIdSegmentFormats: {
memberId: /[a-zA-Z0-9\-_.]*/,
- // eslint-disable-line no-useless-escape
avatarHash: /[a-zA-Z0-9\-_.]*/
- // eslint-disable-line no-useless-escape
}
};
// src/trello/avatar/index.ts
var TrelloAvatarAri = class _TrelloAvatarAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._memberId = opts.resourceIdSegmentValues.memberId, this._avatarHash = opts.resourceIdSegmentValues.avatarHash;
+ super(opts), this._memberId = opts.resourceIdSegmentValues.memberId, this._avatarHash = opts.resourceIdSegmentValues.avatarHash;
}
get memberId() {
return this._memberId;
}