Skip to content

Commit

Permalink
Merge pull request #73 from golnazads/master
Browse files Browse the repository at this point in the history
modified endpoint signature for verify_url
  • Loading branch information
golnazads committed Jun 25, 2021
2 parents 03e186b + e6a7b8d commit a462fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolverway/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def verify_url(self):
return True

# not in redis, so send a request to service to make sure link is in db
response = self.get_request_to_service(self.bibcode + '/' + urllib.parse.quote(self.url))
response = self.get_request_to_service(self.bibcode + ':' + self.url)
if response.status_code == 200:
if response.json().get('link') == 'verified':
# save it to redis for next time, and it never expires
Expand Down

0 comments on commit a462fe0

Please sign in to comment.