fix compile issue

This commit is contained in:
rootdarkarchon
2024-02-10 15:21:27 +00:00
committed by Loporrit
parent 55e4d52d7c
commit 140a247233
@@ -255,6 +255,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);