Implemented node system statistics
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@using Microsoft.Extensions.Logging
|
||||
@using MoonlightServers.Shared
|
||||
@using MoonlightServers.Shared.Admin.Nodes
|
||||
@using ShadcnBlazor.Tooltips
|
||||
|
||||
@@ -55,7 +56,7 @@ else
|
||||
|
||||
try
|
||||
{
|
||||
var result = await HttpClient.GetFromJsonAsync<NodeHealthDto>($"api/admin/servers/nodes/{Node.Id}/health");
|
||||
var result = await HttpClient.GetFromJsonAsync<NodeHealthDto>($"api/admin/servers/nodes/{Node.Id}/health", SerializationContext.Default.Options);
|
||||
|
||||
if(result == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user