feat: add a 200 result schema

This commit is contained in:
2024-12-25 07:22:07 +03:00
parent 269d976ad4
commit ae4d2073c4
5 changed files with 84 additions and 6 deletions

@ -28,7 +28,7 @@ public class SecurityController(IOptionsSnapshot<GeneralConfig> generalConfig) :
[HttpGet("GenerateTotpQrCode")]
[Produces("image/svg+xml")]
[MaintenanceModeIgnore]
public IActionResult GenerateTotpQrCode(
public ContentResult GenerateTotpQrCode(
[FromQuery] string totpKey,
[FromQuery] string label,
[FromQuery] string? backgroundColor = null,