@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/jira/issue-comment/index.js~
packages/ari/jira/issue-comment/index.jsModified+1−5
Index: package/packages/ari/jira/issue-comment/index.js
===================================================================
--- package/packages/ari/jira/issue-comment/index.js
+++ package/packages/ari/jira/issue-comment/index.js
@@ -284,25 +284,21 @@
var jiraIssueCommentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: JiraIssueCommentAriResourceOwner,
resourceType: JiraIssueCommentAriResourceType,
resourceIdSlug: "{issueId}/{commentId}",
resourceIdSegmentFormats: {
issueId: /[0-9]+/,
- // eslint-disable-line no-useless-escape
commentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/jira/issue-comment/index.ts
var JiraIssueCommentAri = class _JiraIssueCommentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._issueId = opts.resourceIdSegmentValues.issueId, this._commentId = opts.resourceIdSegmentValues.commentId;
+ super(opts), this._siteId = opts.cloudId || "", this._issueId = opts.resourceIdSegmentValues.issueId, this._commentId = opts.resourceIdSegmentValues.commentId;
}
get siteId() {
return this._siteId;
}