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 587672d commit 8ab0d7a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions oidc-controller/api/routers/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,12 @@ 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 8ab0d7a

Please sign in to comment.