refactor(app) AI refactoring before moving to Lab3 done

This commit is contained in:
imadev
2026-10-26 19:39:45 +03:00
parent d14fed291e
commit 71174f844c
30 changed files with 895 additions and 560 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func RegisterPublicRoutes(router fiber.Router, st *store.Store) {
router.Post("/users", handler.CreateUser)
}
func RegisterRoutes(router fiber.Router, st *store.Store) {
func RegisterProtectedRoutes(router fiber.Router, st *store.Store) {
handler := NewHandler(st)
router.Get("/users/me", handler.GetCurrentUser)
}