We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d3ce39 + a6df2ff commit ab78b72Copy full SHA for ab78b72
1 file changed
maproulette/api/challenge.py
@@ -51,7 +51,7 @@ def get_challenge_by_name(self, project_id, challenge_name):
51
:param challenge_name: the name corresponding to the challenge
52
:returns: the API response from the GET request
53
"""
54
- response = self.get(endpoint=f"/project/{project_id}/challenge/{challenge_name}")
+ response = self.get(endpoint=f"/project/{project_id}/challenge/{challenge_name.replace('/', '%2F')}")
55
return response
56
57
def get_challenges_by_tags(self, challenge_tags, limit=10, page=0):
0 commit comments