Skip to content

Commit

Permalink
Fix: device activation log
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotheem committed Jan 15, 2025
1 parent 704ce6e commit fc51084
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/core/myeclpay/endpoints_myeclpay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,9 +1330,11 @@ async def activate_user_device(
detail="Wallet does not exist",
)

hyperion_error_logger.info(
f"Wallet device {wallet_device.id} activated by user {wallet.user}",
)
user = wallet.user
if user is not None:
hyperion_error_logger.info(
f"Wallet device {wallet_device.id} activated by user {user.id}",
)

return "Wallet device activated"

Expand Down

0 comments on commit fc51084

Please sign in to comment.