Skip to content

Commit

Permalink
Update dev_utils.py
Browse files Browse the repository at this point in the history
fix the token url error
  • Loading branch information
nanli-emory authored Apr 29, 2022
1 parent dc01ce9 commit 53ae352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def getMetadata(filename, upload_folder, extended):


def postslide(img, url, token=''):
url = url + token
url = url + '?token='+ token
payload = json.dumps(img)
res = requests.post(url, data=payload, headers={'content-type': 'application/json'})
if res.status_code < 300:
Expand Down

0 comments on commit 53ae352

Please sign in to comment.