@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/jira/notification-user-preference/index.js~
packages/ari/jira/notification-user-preference/index.jsModified+4−1
Index: package/packages/ari/jira/notification-user-preference/index.js
===================================================================
--- package/packages/ari/jira/notification-user-preference/index.js
+++ package/packages/ari/jira/notification-user-preference/index.js
@@ -284,22 +284,25 @@
var jiraNotificationUserPreferenceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: JiraNotificationUserPreferenceAriResourceOwner,
resourceType: JiraNotificationUserPreferenceAriResourceType,
resourceIdSlug: "activation/{activationId}/{notificationUserPreferenceId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
notificationUserPreferenceId: /[0-9]+/
+ // eslint-disable-line no-useless-escape
}
};
// src/jira/notification-user-preference/index.ts
var JiraNotificationUserPreferenceAri = class _JiraNotificationUserPreferenceAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._notificationUserPreferenceId = opts.resourceIdSegmentValues.notificationUserPreferenceId;
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._notificationUserPreferenceId = opts.resourceIdSegmentValues.notificationUserPreferenceId;
}
get activationId() {
return this._activationId;
}