use newer bulk endpoint with current user in path
This commit is contained in:
parent
2266f3c261
commit
2b2c48b2d7
3 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ def send_heartbeats(heartbeats, args, configs, use_ntlm_proxy=False):
|
|||
|
||||
api_url = args.api_url
|
||||
if not api_url:
|
||||
api_url = 'https://api.wakatime.com/api/v1/heartbeats.bulk'
|
||||
api_url = 'https://api.wakatime.com/api/v1/users/current/heartbeats.bulk'
|
||||
log.debug('Sending heartbeats to api at %s' % api_url)
|
||||
timeout = args.timeout
|
||||
if not timeout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue