From 739b00a444a43bd31fd75f505bf6e661aedbee64 Mon Sep 17 00:00:00 2001 From: PleBea Date: Sat, 13 Jul 2024 19:44:43 +0900 Subject: [PATCH] chore: Update ResponseDTO to use generic type for data --- src/common/dto/response.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dto/response.dto.ts b/src/common/dto/response.dto.ts index ae37c32..635d8d8 100644 --- a/src/common/dto/response.dto.ts +++ b/src/common/dto/response.dto.ts @@ -2,7 +2,7 @@ import { ApiProperty } from '@nestjs/swagger'; type StatusType = 'success' | 'error'; -export abstract class ResponseDTO { +export abstract class ResponseDTO { @ApiProperty() status: StatusType;