From 3ad2b5375e9abb328469bd45fd0c00aea71c5030 Mon Sep 17 00:00:00 2001 From: RimidalU Date: Fri, 3 May 2024 11:45:51 +0300 Subject: [PATCH] ci: test. add file with errors --- backend/src/book/book.controller.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,