@@ -13,10 +13,10 @@ import { Note as NoteEntity } from './api/v1/database/entities/Note'
1313import { initSwaggerViewer } from './api/v1/api/openapi/swagger/InitSwagger'
1414import { connectAndGetRedisInstance } from './api/v1/cache/InitRedisInstance'
1515import Healthcheck from './api/v1/shared/utils/common/Healthcheck'
16- import { CommonHandler } from './api/v1/api/handlers/common/CommonHandler '
17- import { AuthHandler } from './api/v1/api/handlers/auth/AuthHandlers'
18- import { NotesHandler } from './api/v1/api/handlers/notes/NotesHandlers'
19- import { UsersHandler } from './api/v1/api/handlers/users/UsersHandlers'
16+ import { CommonHandlers } from './api/v1/api/handlers/common/CommonHandlers '
17+ import { AuthHandlers } from './api/v1/api/handlers/auth/AuthHandlers'
18+ import { NotesHandlers } from './api/v1/api/handlers/notes/NotesHandlers'
19+ import { UsersHandlers } from './api/v1/api/handlers/users/UsersHandlers'
2020import { LOGGER } from './api/v1/shared/utils/common/Logger'
2121
2222const main = async ( ) => {
@@ -58,10 +58,10 @@ const main = async () => {
5858
5959 // registering handlers with version prefix
6060 server . register ( ( server , _ , done ) => {
61- const usersHandler = new UsersHandler ( server , authentication , usersService )
62- const notesHandler = new NotesHandler ( server , authentication , notesService )
63- const authHandler = new AuthHandler ( server , authentication , authService )
64- const commonHandler = new CommonHandler ( server , healthcheck )
61+ const usersHandler = new UsersHandlers ( server , authentication , usersService )
62+ const notesHandler = new NotesHandlers ( server , authentication , notesService )
63+ const authHandler = new AuthHandlers ( server , authentication , authService )
64+ const commonHandler = new CommonHandlers ( server , healthcheck )
6565
6666 usersHandler . handleRoutes ( )
6767 notesHandler . handleRoutes ( )
0 commit comments