fix compile issue

This commit is contained in:
rootdarkarchon
2024-01-21 11:05:44 +01:00
committed by Loporrit
parent 55e4d52d7c
commit 140a247233

View File

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