From c9083dd883080aa9bfc685a389c0233f3ee26826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=84?= Date: Wed, 30 Nov 2022 15:43:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=20=EC=9D=B4=EB=A6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/apis/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/apis/index.ts b/backend/src/apis/index.ts index a1888f1a..bfaa50f6 100644 --- a/backend/src/apis/index.ts +++ b/backend/src/apis/index.ts @@ -30,7 +30,7 @@ router.post('/articles/temporary', catchAsync(articlesController.craeteTemporary router.post('/image', multer().single('image'), catchAsync(imagesController.createImage)); -router.get('/books/search', catchAsync(booksController.getSearchedBooks)); +router.get('/books/search', catchAsync(booksController.searchBooks)); router.get('/books/:bookId', decoder, catchAsync(booksController.getBook)); router.get('/books', decoder, catchAsync(booksController.getBooks)); router.post('/books', catchAsync(guard), catchAsync(booksController.createBook));