From 43454ba80ca0ede419b274d66019c043cc03b458 Mon Sep 17 00:00:00 2001 From: Aaron Cook Date: Thu, 24 Oct 2024 11:15:49 +0200 Subject: [PATCH] Mark the `Delegate` `results` as array --- src/routes/delegates/entities/delegate.page.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/delegates/entities/delegate.page.entity.ts b/src/routes/delegates/entities/delegate.page.entity.ts index 0c02992649..4d77457efa 100644 --- a/src/routes/delegates/entities/delegate.page.entity.ts +++ b/src/routes/delegates/entities/delegate.page.entity.ts @@ -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 { - @ApiProperty({ type: Delegate }) + @ApiProperty({ type: Delegate, isArray: true }) results!: Delegate[]; }