feat(ConfigController): add authorize attribute

This commit is contained in:
Developer 02
2025-04-24 02:01:09 +02:00
parent 54f39103e1
commit 2974ddb985
2 changed files with 7 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
using EnvelopeGenerator.Web.Models.Annotation;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
@@ -6,6 +7,7 @@ namespace EnvelopeGenerator.Web.Controllers;
[Route("api/[controller]")]
[ApiController]
[Authorize]
public class ConfigController : ControllerBase
{
private readonly AnnotationParams _annotParams;