Skip to content

Commit

Permalink
Mark the Delegate results as array (#2047)
Browse files Browse the repository at this point in the history
iamacook authored Oct 24, 2024
1 parent a1b0bec commit 310ff25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/delegates/entities/delegate.page.entity.ts
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@ import { Page } from '@/routes/common/entities/page.entity';
import { Delegate } from '@/routes/delegates/entities/delegate.entity';

export class DelegatePage extends Page<Delegate> {
@ApiProperty({ type: Delegate })
@ApiProperty({ type: Delegate, isArray: true })
results!: Delegate[];
}

0 comments on commit 310ff25

Please sign in to comment.