Skip to content

Commit

Permalink
Fix: simplify device activation url
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotheem committed Jan 15, 2025
1 parent 8726223 commit 704ce6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/myeclpay/endpoints_myeclpay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ async def create_user_devices(
"activate_myeclpay_device_mail.html",
).render(
{
"activation_link": f"{settings.CLIENT_URL}myeclpay/users/me/wallet/devices/activate?token={activation_token}",
"activation_link": f"{settings.CLIENT_URL}myeclpay/devices/activate?token={activation_token}",
},
)
background_tasks.add_task(
Expand All @@ -1284,7 +1284,7 @@ async def create_user_devices(


@router.get(
"/myeclpay/users/me/wallet/devices/activate",
"/myeclpay/devices/activate",
status_code=200,
)
async def activate_user_device(
Expand Down

0 comments on commit 704ce6e

Please sign in to comment.