Skip to content

Commit

Permalink
fix: 잘못된 메서드 이름 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
doputer committed Nov 30, 2022
1 parent 4988231 commit c9083dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/apis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c9083dd

Please sign in to comment.