Skip to content

Commit

Permalink
remove services from query string for extra meetings query (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
klgrimley authored Sep 29, 2023
1 parent 893f7bc commit c60e748
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions croutonjs/src/js/crouton-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ function Crouton(config) {
for (var i = 0; i < self.config['extra_meetings'].length; i++) {
extra_meetings_query += "&meeting_ids[]=" + self.config["extra_meetings"][i];
}
const regex = /&services\[\]=\d+/;
url = url.replace(regex, '');
promises.push(fetchJsonp(self.config['root_server'] + url + extra_meetings_query).then(function (response) { return response.json(); }));
}

Expand Down

0 comments on commit c60e748

Please sign in to comment.