using DeluxeBackend.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.DataProtection.KeyManagement; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DeluxeBackend.Controllers.Moderation { [Route("Moderation/voice")] [ApiController] public class VoiceController : ControllerBase { [HttpGet("config")] [Authorize(Roles = "gameClient")] public async Task Config() { #pragma warning disable CS8625 // Cannot convert null literal to non-nullable reference type. Dictionary config = new Dictionary() { ["accountId"] = null, ["apiKey"] = null, ["submitAppealUrl"] = null, ["submitExternalModerationUrl"] = null }; #pragma warning restore CS8625 return Ok(config); } } }