Skip to content

Commit

Permalink
fix: add decorator options to `GetOrganizationResponse['userOrganizat…
Browse files Browse the repository at this point in the history
…ions']` (#2359)

Adds `type` and `isArray` to `GetOrganizationResponse['userOrganizations']`.
  • Loading branch information
iamacook authored Feb 18, 2025
1 parent bff3833 commit 164e97c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export class GetOrganizationResponse {
@ApiProperty({ type: String, enum: OrganizationStatus })
public status!: keyof typeof OrganizationStatus;

@ApiProperty()
@ApiProperty({ type: UserOrganizationsDto, isArray: true })
public userOrganizations!: Array<UserOrganizationsDto>;
}

0 comments on commit 164e97c

Please sign in to comment.