We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2590a3 commit c656cd9Copy full SHA for c656cd9
redminelib/engines/base.py
@@ -35,7 +35,7 @@ def __init__(self, **options):
35
36
# We would like to be authenticated by API key by default
37
if options.get('key') is not None:
38
- self.requests['params']['key'] = options['key']
+ self.requests['headers']['X-Redmine-API-Key'] = options['key']
39
elif options.get('username') is not None and options.get('password') is not None:
40
self.requests['auth'] = (options['username'], options['password'])
41
0 commit comments