Skip to content

Commit

Permalink
style: fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Gentile <[email protected]>
  • Loading branch information
genaris committed Jul 11, 2024
1 parent 72bf127 commit 587672d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions oidc-controller/api/routers/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,14 @@ async def get_authorize(request: Request, db: Database = Depends(get_db)):
# BC Wallet deep link
if settings.USE_URL_DEEP_LINK:
suffix = (
f'_url={base64.urlsafe_b64encode(url_to_message.encode("utf-8")).decode("utf-8")}'
f'_url={base64.urlsafe_b64encode(
url_to_message.encode("utf-8")
).decode("utf-8")}'
)
else:
suffix = f'c_i={base64.urlsafe_b64encode(formated_msg.encode("utf-8")).decode("utf-8")}'
suffix = f'c_i={base64.urlsafe_b64encode(
formated_msg.encode("utf-8")
).decode("utf-8")}'
WALLET_DEEP_LINK_PREFIX = settings.WALLET_DEEP_LINK_PREFIX
wallet_deep_link = f"{WALLET_DEEP_LINK_PREFIX}?{suffix}"

Expand Down

0 comments on commit 587672d

Please sign in to comment.