Skip to content

Commit

Permalink
refactor: Update AddressResponseDTO to include type information for d…
Browse files Browse the repository at this point in the history
…ocuments
  • Loading branch information
PleBea committed Jul 13, 2024
1 parent 8dd5e96 commit 72fc326
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/address/dto/address-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export class AddressDocument {
}

export class AddressResponseDTO {
@ApiProperty()
@ApiProperty({
type: [AddressDocument],
})
documents: AddressDocument[];
}

0 comments on commit 72fc326

Please sign in to comment.