Skip to content

Commit

Permalink
feat(be): update api update manga
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Jul 10, 2023
1 parent 188c100 commit 58b22ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/manga/manga.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
Controller,
Param,
Post,
Put,
UploadedFiles,
UseGuards,
UseInterceptors,
Expand Down Expand Up @@ -37,7 +38,7 @@ export class MangaController {

@UseGuards(AuthGuard)
@ApiBearerAuth()
@Post(':mangaId')
@Put(':mangaId')
@ApiConsumes('multipart/form-data')
@UseInterceptors(AuthUserInterceptor, AnyFilesInterceptor())
update(
Expand Down

0 comments on commit 58b22ff

Please sign in to comment.