Skip to content

Commit

Permalink
cli: adapt to new UserToken table
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Apr 24, 2020
1 parent 6013388 commit 0460f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reana/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ def setup_environment(server_hostname, insecure_url): # noqa: D301

get_admin_token_sql_query_cmd = [
'psql', '-U', 'reana', 'reana', '-c',
'SELECT access_token FROM user_']
'SELECT token FROM user_token']
sql_query_result = exec_into_component(
get_prefixed_component_name('db'),
get_admin_token_sql_query_cmd)
Expand Down

0 comments on commit 0460f28

Please sign in to comment.