Skip to content

Commit

Permalink
Login Logout Flow complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
MHA10 committed Apr 12, 2023
1 parent 067a104 commit 8038756
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def login():
return jsonify({'message': 'Missing arguments'}), 400
data['asset_registry'] = True
try:
res = requests.post(app.config['USER_REGISTRY_BASE_URL'], json=data)
json_res = json.loads(res.content.decode())

requests.post(app.config['USER_REGISTRY_BASE_URL'], json=data)
except Exception as e:
return jsonify({
'message': 'User Registry Error',
Expand Down

0 comments on commit 8038756

Please sign in to comment.