Skip to content

Commit a69ae53

Browse files
committed
Correct URL of top communities in get_communities_iter
1 parent 6e3dc37 commit a69ae53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspace_rest_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ def get_communities_iter(do_paginate, self, sort=None, top=False):
830830
@return: Iterator of Community
831831
"""
832832
if top:
833-
url = f'{url}/core/communities/search/top'
833+
url = f'{self.API_ENDPOINT}/core/communities/search/top'
834834
else:
835835
url = f'{self.API_ENDPOINT}/core/communities'
836836

0 commit comments

Comments
 (0)