fix(backend): fix expose name mapping bug in AiPromptResponseDto causing HTTP 500
This commit is contained in:
@@ -11,7 +11,7 @@ import { Expose } from 'class-transformer';
|
|||||||
* โดยคัดกรองเฉพาะข้อมูลภายนอกและปิดบัง PK ดั้งเดิมตามนโยบายความปลอดภัย
|
* โดยคัดกรองเฉพาะข้อมูลภายนอกและปิดบัง PK ดั้งเดิมตามนโยบายความปลอดภัย
|
||||||
*/
|
*/
|
||||||
export class AiPromptResponseDto {
|
export class AiPromptResponseDto {
|
||||||
@Expose({ name: 'id' })
|
@Expose()
|
||||||
publicId!: string;
|
publicId!: string;
|
||||||
|
|
||||||
@Expose()
|
@Expose()
|
||||||
|
|||||||
Reference in New Issue
Block a user