🐛 Fix unable to claim fund due to db issue

This commit is contained in:
2025-11-17 01:12:00 +08:00
parent 260b3e7bc6
commit 82afdb3922
3 changed files with 16 additions and 10 deletions

View File

@@ -17,7 +17,8 @@ public class WalletController(
WalletService ws,
PaymentService payment,
AuthService auth,
ICacheService cache
ICacheService cache,
ILogger<WalletController> logger
) : ControllerBase
{
[HttpPost]
@@ -369,6 +370,7 @@ public class WalletController(
}
catch (Exception err)
{
logger.LogError(err, "Failed to receive fund...");
return BadRequest(err.Message);
}
}