🐛 Fix unable to claim fund due to db issue
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user