From 197918e526b99fa996191f702f4fc1da3f685302 Mon Sep 17 00:00:00 2001
From: eee4 <41441600+eee4@users.noreply.github.com>
Date: Tue, 22 Jul 2025 14:01:32 +0200
Subject: [PATCH] fix: keep API path names consistent
---
Controllers/CategoryController.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Controllers/CategoryController.cs b/Controllers/CategoryController.cs
index 160ba38..d11e157 100644
--- a/Controllers/CategoryController.cs
+++ b/Controllers/CategoryController.cs
@@ -38,7 +38,7 @@ public class CategoryController : ControllerBase
/// The page number
/// Returned on valid request
/// Returned when requested page is invalid (page_no <= 0)
- [HttpGet("{page_no}")]
+ [HttpGet("page/{page_no}")]
[EnableCors]
[ProducesResponseType(typeof(CategoryShortDTO), 200)]
[ProducesResponseType(typeof(ErrorDTO), 404)]