From d4cec02f988df6ee0fbdf682cca7c5703aeed933 Mon Sep 17 00:00:00 2001 From: dungnguyenn1103 <91179133+DungNguyen2003@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:24:09 +0700 Subject: [PATCH] feat/#146 (#151) --- src/apis/v1/user/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apis/v1/user/index.ts b/src/apis/v1/user/index.ts index 560bd67..e6001bf 100644 --- a/src/apis/v1/user/index.ts +++ b/src/apis/v1/user/index.ts @@ -17,6 +17,7 @@ router.post( ); router.get('/', authMiddleware, adminMiddleware, asyncRouteHandler(controller.getUsers)); +router.get('/email', authMiddleware, adminMiddleware, asyncRouteHandler(controller.getUserByEmail)); router.get('/email', authMiddleware, adminMiddleware, asyncRouteHandler(controller.getUserByEmail));