Skip to content

Commit

Permalink
That should do it
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarrarom committed Apr 23, 2021
1 parent 1154128 commit 7afecba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jiractl.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def login(ctx, apikey, endpoint):
request = requests.get(endpoint + '/rest/api/latest/myself', headers=headers)
request.raise_for_status()
current_user = request.json()
write_config_file(config['config_file_path'], {'apikey': apikey,'endpoint': endpoint, 'current_user': current_user['key']})
write_config_file(config['config_file_path'], {'apikey': apikey,'endpoint': endpoint, 'current_user': current_user.get('name')})
print("Authentication configuration setup correctly!")


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='fancy-jira',
version='0.0.3',
version='0.0.4',
author='Gui Martins',
url='https://fancywhale.ca/',
author_email='[email protected]',
Expand Down

0 comments on commit 7afecba

Please sign in to comment.