@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/loom/comment/index.js
~packages/ari/loom/comment/index.jsModified
+5−2
Index: package/packages/ari/loom/comment/index.js
===================================================================
--- package/packages/ari/loom/comment/index.js
+++ package/packages/ari/loom/comment/index.js
@@ -284,22 +284,25 @@
 var loomCommentAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: LoomCommentAriResourceOwner,
   resourceType: LoomCommentAriResourceType,
   resourceIdSlug: "activation/{activationId}/{commentId}",
   resourceIdSegmentFormats: {
     activationId: /[a-zA-Z0-9\-]+/,
     // eslint-disable-line no-useless-escape
-    commentId: /(?:[0-9]+|[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})/
+    commentId: /[0-9]+/
+    // eslint-disable-line no-useless-escape
   }
 };
 
 // src/loom/comment/index.ts
 var LoomCommentAri = class _LoomCommentAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._commentId = opts.resourceIdSegmentValues.commentId;
+    super(opts);
+    this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._commentId = opts.resourceIdSegmentValues.commentId;
   }
   get siteId() {
     return this._siteId;
   }