Skip to content

Commit

Permalink
Merge pull request #59 from Brints/swagger_doc
Browse files Browse the repository at this point in the history
fix: Swagger docs for multipart form and json.
  • Loading branch information
aniebietafia authored Nov 13, 2024
2 parents c24c7ca + 1b3d076 commit ef07124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brints-estate-api/src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class AuthController {
@ApiOperation({
summary: 'Registers a new user',
})
@ApiConsumes('application/json', 'multipart/form-data')
@ApiConsumes('multipart/form-data', 'application/json')
@ApiBody({
description: 'User registration',
type: CreateUserDto,
Expand Down

0 comments on commit ef07124

Please sign in to comment.