summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-13 10:14:29 +0100
committerRory& <root@rory.gay>2026-03-13 10:14:29 +0100
commit1e07c1eaa28815bc0a385c4faf2b95f1405c1c6c (patch)
tree6e0298c366c9993c68f8a52302414f67e9355c19 /extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs
parentidentify: use proto toVoiceState (diff)
downloadserver-ts-1e07c1eaa28815bc0a385c4faf2b95f1405c1c6c.tar.xz
gateway offload work
Diffstat (limited to 'extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs')
-rw-r--r--extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs b/extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs

index 767e838b..0843218e 100644 --- a/extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs +++ b/extra/admin-api/Spacebar.GatewayOffload/Controllers/ChannelStatusController.cs
@@ -15,7 +15,7 @@ namespace Spacebar.GatewayOffload.Controllers; [Route("/_spacebar/offload/gateway")] public class ChannelStatusController(ILogger<ChannelStatusController> logger, SpacebarAspNetAuthenticationService authService, SpacebarDbContext db, IServiceProvider sp) : ControllerBase { - [HttpPost("channelStatuses")] + [HttpPost("ChannelStatuses")] public async IAsyncEnumerable<ReplicationMessage<ChannelStatusesResponse>> GetChannelStatuses([FromBody] ChannelStatusesRequest req) { await foreach (var res in GetChannelInfos(new() { Fields = ["status"], @@ -33,7 +33,7 @@ public class ChannelStatusController(ILogger<ChannelStatusController> logger, Sp } } - [HttpPost("channelInfo")] + [HttpPost("ChannelInfo")] public async IAsyncEnumerable<ReplicationMessage<ChannelInfoResponse>> GetChannelInfos([FromBody] ChannelInfoRequest req) { var user = await authService.GetCurrentUserAsync(Request); string[] statusOptions = [