summaryrefslogtreecommitdiffstats
path: root/extensions/Review/web
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Review/web')
-rw-r--r--extensions/Review/web/js/badge.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Review/web/js/badge.js b/extensions/Review/web/js/badge.js
index 8580c0ba1..d104ce5ae 100644
--- a/extensions/Review/web/js/badge.js
+++ b/extensions/Review/web/js/badge.js
@@ -47,7 +47,7 @@ Bugzilla.Review.Badge = class Badge {
this.initialized = true;
- const url = this.$panel.querySelector('footer a').href + '&ctype=json';
+ const url = this.$panel.querySelector('footer a').href.replace(/type$/, 'requestee') + '&ctype=json';
const response = await fetch(url, { credentials: 'same-origin' });
const _requests = response.ok ? await response.json() : [];