From 37c11e9d73a01f7cd2ec9c6bd4763a2f208167bf Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Thu, 25 Sep 2025 03:34:59 +0200 Subject: [PATCH] Added tasks and added await on get groups --- LightlessSync/UI/BroadcastUI.cs | 2 +- LightlessSync/WebAPI/SignalR/ApiController.cs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/LightlessSync/UI/BroadcastUI.cs b/LightlessSync/UI/BroadcastUI.cs index 6f9cdc8..90b19ad 100644 --- a/LightlessSync/UI/BroadcastUI.cs +++ b/LightlessSync/UI/BroadcastUI.cs @@ -104,7 +104,7 @@ namespace LightlessSync.UI try { - _allSyncshells = await _apiController.GroupsGetAll(); + _allSyncshells = await _apiController.GroupsGetAll().ConfigureAwait(false); } catch (Exception ex) { diff --git a/LightlessSync/WebAPI/SignalR/ApiController.cs b/LightlessSync/WebAPI/SignalR/ApiController.cs index 7653529..f341d5d 100644 --- a/LightlessSync/WebAPI/SignalR/ApiController.cs +++ b/LightlessSync/WebAPI/SignalR/ApiController.cs @@ -2,6 +2,7 @@ using LightlessSync.API.Data; using LightlessSync.API.Data.Extensions; using LightlessSync.API.Dto; +using LightlessSync.API.Dto.Group; using LightlessSync.API.Dto.User; using LightlessSync.API.SignalR; using LightlessSync.LightlessConfiguration; @@ -596,5 +597,20 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IL ServerState = state; } + + public Task Client_GroupSendProfile(GroupProfileDto groupInfo) + { + throw new NotImplementedException(); + } + + public Task GroupGetProfile(GroupDto dto) + { + throw new NotImplementedException(); + } + + public Task GroupSetProfile(GroupProfileDto dto) + { + throw new NotImplementedException(); + } } #pragma warning restore MA0040 \ No newline at end of file