mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Updates from code review
Thanks @kukks!
This commit is contained in:
@@ -12,7 +12,10 @@ namespace BTCPayServer.Controllers.GreenField
|
||||
[HttpGet("~/api/v1/health")]
|
||||
public ActionResult GetHealth(NBXplorerDashboard dashBoard)
|
||||
{
|
||||
ApiHealthData model = new ApiHealthData() {Synchronized = dashBoard.IsFullySynched()};
|
||||
ApiHealthData model = new ApiHealthData()
|
||||
{
|
||||
Synchronized = dashBoard.IsFullySynched()
|
||||
};
|
||||
return Ok(model);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user