Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Jan 8, 2024
1 parent 327f14c commit 63205d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fyle_rest_auth/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def get_cluster_domain_by_code(request):

tokens = auth.generate_fyle_refresh_token(authorization_code=authorization_code)

cluster_domain = 'http://localhost:8002' if settings.DEBUG else get_cluster_domain(tokens['access_token'], auth.get_origin_address(request))
cluster_domain = 'http://localhost:8002' if settings.DEBUG \
else get_cluster_domain(tokens['access_token'], auth.get_origin_address(request))

return {
'cluster_domain': cluster_domain,
Expand Down

0 comments on commit 63205d1

Please sign in to comment.