summaryrefslogtreecommitdiff
path: root/Controllers/ApiTagController.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-08 01:30:38 +1000
committerJake Mannens <jake@asger.xyz>2026-05-08 01:30:38 +1000
commita45ad8d3f8da273f80029ba6d34beb7e4ff7d7b5 (patch)
treec28beb18ef41b997a234777a134c05c01802d5af /Controllers/ApiTagController.cs
parent2b66d00175950d845a794422433d4a350cf87775 (diff)
v0.14av0.14a
Diffstat (limited to 'Controllers/ApiTagController.cs')
-rw-r--r--Controllers/ApiTagController.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Controllers/ApiTagController.cs b/Controllers/ApiTagController.cs
index afd5b05..26e3dc4 100644
--- a/Controllers/ApiTagController.cs
+++ b/Controllers/ApiTagController.cs
@@ -1,9 +1,11 @@
-using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace HyperBooru.Controllers;
[ApiController]
+[Authorize]
[Route("/api/tag")]
public class ApiTagController : Controller {
private IDbContextFactory<HBContext> dbFactory;