Skip to content

Commit

Permalink
Merge pull request #18 from kelockhart/last-sent-typo
Browse files Browse the repository at this point in the history
Fix typo in request params
  • Loading branch information
kelockhart authored Sep 4, 2020
2 parents 7f8ff86 + 92ee504 commit 9e5b8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myadsp/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def task_process_myads(message):

# first fetch the myADS setup from /vault/get-myads
if last_sent:
r = app.client.get(app.conf.get('API_VAULT_MYADS_SETUP_DATE') % userid, last_sent,
r = app.client.get(app.conf.get('API_VAULT_MYADS_SETUP_DATE') % (userid, last_sent),
headers={'Accept': 'application/json',
'Authorization': 'Bearer {0}'.format(app.conf.get('API_TOKEN'))})
else:
Expand Down

0 comments on commit 9e5b8dc

Please sign in to comment.