fix compile issue

This commit is contained in:
rootdarkarchon
2024-01-21 11:05:44 +01:00
parent 83a15ba77c
commit 475f90d954

View File

@@ -265,6 +265,8 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
return Task.CompletedTask;
}
public Task<ConnectionDto> GetConnectionDto() => GetConnectionDto(true);
public async Task<ConnectionDto> GetConnectionDto(bool publishConnected = true)
{
var dto = await _mareHub!.InvokeAsync<ConnectionDto>(nameof(GetConnectionDto)).ConfigureAwait(false);