I love auth

This commit is contained in:
defnotken
2025-09-05 11:05:09 -05:00
parent d98062a4fe
commit d27f5f3df0

View File

@@ -107,8 +107,6 @@ public class LightlessModule : InteractionModuleBase
c.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", _serverTokenGenerator.Token);
_logger.LogInformation("JWT Token: {}", _serverTokenGenerator.Token);
await c.PostAsJsonAsync(
new Uri(_lightlessServicesConfiguration.GetValue<Uri>(nameof(ServicesConfiguration.MainServerAddress)), "/msgc/sendMessage"),
new ClientMessage(messageType, message, uid ?? string.Empty)