diff --git a/backend/src/modules/ai/prompts/dto/ai-prompt-response.dto.ts b/backend/src/modules/ai/prompts/dto/ai-prompt-response.dto.ts index 67e331c5..416d25e6 100644 --- a/backend/src/modules/ai/prompts/dto/ai-prompt-response.dto.ts +++ b/backend/src/modules/ai/prompts/dto/ai-prompt-response.dto.ts @@ -11,7 +11,7 @@ import { Expose } from 'class-transformer'; * โดยคัดกรองเฉพาะข้อมูลภายนอกและปิดบัง PK ดั้งเดิมตามนโยบายความปลอดภัย */ export class AiPromptResponseDto { - @Expose({ name: 'id' }) + @Expose() publicId!: string; @Expose()