diff --git a/.github/workflows/check-pr.yaml b/.github/workflows/check-pr.yaml index 45694c3..73356ce 100644 --- a/.github/workflows/check-pr.yaml +++ b/.github/workflows/check-pr.yaml @@ -12,12 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 - with: - node-version: 20.x.x - cache: npm - - run: npm ci - - run: npm run format:verify - - run: npm run lint:verify - - run: npm run lint:types - - run: npm run test \ No newline at end of file + - run: yarn + - run: yarn run format:verify + - run: yarn run lint:verify + - run: yarn run lint:types + - run: yarn run test \ No newline at end of file diff --git a/backend/src/book/book.controller.ts b/backend/src/book/book.controller.ts index e6fc180..6ecb031 100644 --- a/backend/src/book/book.controller.ts +++ b/backend/src/book/book.controller.ts @@ -7,6 +7,7 @@ import { Param, ParseFilePipeBuilder, ParseIntPipe, + Patch, Post, Query, UploadedFile, @@ -183,7 +184,7 @@ export class BookController { ): Promise { await this.bookService.addEBook({ currentUserId, - bookId: "bookId", + bookId, data: file.buffer, originalname: file.originalname, mimetype: file.mimetype,