From 0b662d36de30c4bdd3d9be97d08ace8d4d7be588 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 1 Dec 2023 12:34:30 +0100 Subject: Reformat --- MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs') diff --git a/MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs b/MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs index 0dcc3bb..b9d7e84 100644 --- a/MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs +++ b/MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs @@ -24,7 +24,7 @@ public class ProxyConfigurationController : ControllerBase { [HttpGet("proxy_config")] public async Task GetConfig() { var mxid = await _authenticationService.GetMxidFromToken(); - if(!_config.Admins.Contains(mxid)) { + if (!_config.Admins.Contains(mxid)) { _logger.LogWarning("Got proxy config request for {user}, but they are not an admin", mxid); Response.StatusCode = StatusCodes.Status403Forbidden; Response.ContentType = "application/json"; -- cgit 1.5.1