diff --git a/backend/src/book/book.controller.ts b/backend/src/book/book.controller.ts index 6ecb031..e6fc180 100644 --- a/backend/src/book/book.controller.ts +++ b/backend/src/book/book.controller.ts @@ -7,7 +7,6 @@ import { Param, ParseFilePipeBuilder, ParseIntPipe, - Patch, Post, Query, UploadedFile, @@ -184,7 +183,7 @@ export class BookController { ): Promise { await this.bookService.addEBook({ currentUserId, - bookId, + bookId: "bookId", data: file.buffer, originalname: file.originalname, mimetype: file.mimetype,