diff --git a/server/src/routes/api.js b/server/src/routes/api.js index 2052556..9f3fe93 100644 --- a/server/src/routes/api.js +++ b/server/src/routes/api.js @@ -10,6 +10,7 @@ import { registerAdminUserRoutes } from './api/admin-users.js' import { registerCatalogSliderRoutes } from './api/catalog-slider.js' import { registerPublicCatalogRoutes } from './api/public-catalog.js' import { registerPublicReviewRoutes } from './api/public-reviews.js' +import { registerAuthRoutes } from './auth.js' import { registerAuthOAuthRoutes } from './auth-oauth.js' import { registerAuthPasswordRoutes } from './auth-password.js' import { registerAuthSessionRoutes } from './auth-session.js' @@ -32,6 +33,7 @@ export async function registerApiRoutes(fastify) { await registerAdminNotificationRoutes(fastify) await registerAdminProfileRoutes(fastify) + await registerAuthRoutes(fastify) await registerAuthSessionRoutes(fastify) await registerAuthPasswordRoutes(fastify) await registerAuthOAuthRoutes(fastify)