Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
guesant committed Mar 29, 2024
1 parent 49e64ad commit 54a8a08
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,20 @@ export class BlocoController {
},
},
})
@UseInterceptors(FileInterceptor('file', { limits: { fileSize: 10 * 1024 * 1024, files: 1 } }))
async blocoImagemCapaSave(@ContextoDeAcessoHttp() contextoDeAcesso: IContextoDeAcesso, @Param('id', ParseUUIDPipe) id: string, @UploadedFile() file: Express.Multer.File) {
@UseInterceptors(
FileInterceptor('file', {
limits: {
files: 1,
fileSize: 10 * 1024 * 1024,
},
}),
)
async blocoImagemCapaSave(
//
@ContextoDeAcessoHttp() contextoDeAcesso: IContextoDeAcesso,
@Param('id', ParseUUIDPipe) id: string,
@UploadedFile() file: Express.Multer.File,
) {
return this.blocoService.blocoUpdateImagemCapa(contextoDeAcesso, { id }, file);
}

Expand Down

0 comments on commit 54a8a08

Please sign in to comment.