Skip to content

Commit

Permalink
fix: update review page param (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnagro authored Jan 12, 2024
1 parent 246dccf commit 51d8413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enterprise_catalog/apps/api_client/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def get_course_reviews(self, course_keys=None):
# Traverse all pages and concatenate results
while response.get('next'):
page += 1
request_params.update({'page': page})
response = self._retrieve_course_reviews(request_params)
results += response.get('results', [])
except Exception as exc:
Expand Down

0 comments on commit 51d8413

Please sign in to comment.