Update categories routes to match Ktor

This commit is contained in:
William Brawner 2023-06-05 11:38:03 -06:00
parent 89b1b6ccc7
commit 95ca0ec9fc

View file

@ -20,7 +20,7 @@ import static com.wbrawner.twigs.Utils.getCurrentUser;
import static com.wbrawner.twigs.Utils.getFirstOfMonth;
@RestController
@RequestMapping(path = "/categories")
@RequestMapping(path = "/api/categories")
@Transactional
class CategoryController {
private final CategoryRepository categoryRepository;