Skip to content

Commit

Permalink
fix: rename UserOrganizationsDto to UserOrganizationDto
Browse files Browse the repository at this point in the history
  • Loading branch information
PooyaRaki committed Feb 21, 2025
1 parent bf324f6 commit 9d6191d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class UserDto extends User {
public status!: User['status'];
}

class UserOrganizationsDto {
class UserOrganizationDto {
@ApiProperty({ type: Number })
public id!: UserOrganization['id'];

Expand Down Expand Up @@ -51,6 +51,6 @@ export class GetOrganizationResponse {
@ApiProperty({ type: String, enum: getStringEnumKeys(OrganizationStatus) })
public status!: keyof typeof OrganizationStatus;

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

0 comments on commit 9d6191d

Please sign in to comment.