summary refs log tree commit diff
path: root/MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-01 12:34:30 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-01 12:34:30 +0100
commit0b662d36de30c4bdd3d9be97d08ace8d4d7be588 (patch)
tree475e4ea94cb5179236614bf5052d3164d1f2ff3b /MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs
parentAdd more code (diff)
downloadMxApiExtensions-0b662d36de30c4bdd3d9be97d08ace8d4d7be588.tar.xz
Reformat
Diffstat (limited to 'MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs')
-rw-r--r--MxApiExtensions/Controllers/Extensions/ProxyConfigurationController.cs2
1 files changed, 1 insertions, 1 deletions
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<MxApiExtensionsConfiguration> 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";