Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
salmma committed Nov 22, 2023
1 parent 5030b8e commit 9d2f150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def transpile_circuit():
elif provider == 'aws':
if 'aws-access-key-id' in input_params and 'aws-secret-access-key' in input_params:
aws_access_key_id = input_params['aws-access-key-id']
aws_secret_access_key = input_params['aws_secret_access_key']
aws_secret_access_key = input_params['aws-secret-access-key']
elif 'aws-access-key-id' in request.json and 'aws-secret-access-key' in request.json:
aws_access_key_id = request.json.get('aws-access-key-id')
aws_secret_access_key = request.json.get('aws-secret-access-key')
Expand Down Expand Up @@ -302,7 +302,7 @@ def execute_circuit():
elif provider == 'aws':
if 'aws-access-key-id' in input_params and 'aws-secret-access-key' in input_params:
aws_access_key_id = input_params['aws-access-key-id']
aws_secret_access_key = input_params['aws_secret_access_key']
aws_secret_access_key = input_params['aws-secret-access-key']
elif 'aws-access-key-id' in request.json and 'aws-secret-access-key' in request.json:
aws_access_key_id = request.json.get('aws-access-key-id')
aws_secret_access_key = request.json.get('aws-secret-access-key')
Expand Down

0 comments on commit 9d2f150

Please sign in to comment.