Browse Source

Remove hard-coded project key

Andy Teijelo Pérez 5 years ago
parent
commit
6d3615cdda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      daily.py

+ 1 - 1
daily.py

@@ -20,7 +20,7 @@ date = float(date)
 date = time.localtime(date)
 date = time.strftime(r'%Y-%m-%d', date)
 
-url_template = 'https://{base_url}/rest/tempo-timesheets/3/worklogs?projectKey=PAS&dateFrom={date}&dateTo={date}&expand=issue.status'
+url_template = 'https://{base_url}/rest/tempo-timesheets/3/worklogs?dateFrom={date}&dateTo={date}&expand=issue.status'
 url = url_template.format(base_url=args.base_url, date=date)
 
 resp = requests.get(url, verify=False)