fix: type

This commit is contained in:
ilhamtahir committed 2024-11-20 15:38:01 +08:00
1 parent efab650808
commit db11c729ec
1 file changed
+4 -1
@@ -64,7 +64,10 @@ export class CarousalController {
@Get('active-list') @Get('active-list')
@ApiBearerAuth() @ApiBearerAuth()
@ApiOkResponse({ @ApiOkResponse({
type: Array<CarousalVo>, schema: {
type: 'array',
items: { $ref: getSchemaPath(CarousalVo) },
},
}) })
async activeList() { async activeList() {
return CarousalMapper.toVos(await this.carousalService.activeList()); return CarousalMapper.toVos(await this.carousalService.activeList());