fix(cards): allow payload object in DTOs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-08 18:03:24 +02:00
co-authored by Cursor
parent 8af579be53
commit 1e4e2d5198
@@ -3,6 +3,7 @@ import {
IsDateString, IsDateString,
IsEnum, IsEnum,
IsOptional, IsOptional,
IsObject,
IsString, IsString,
IsUUID, IsUUID,
MaxLength, MaxLength,
@@ -51,6 +52,7 @@ export class CreerCarteDto {
@ApiPropertyOptional() @ApiPropertyOptional()
@IsOptional() @IsOptional()
@IsObject()
payload?: Record<string, any>; payload?: Record<string, any>;
} }
@@ -86,6 +88,7 @@ export class MajCarteDto {
@ApiPropertyOptional() @ApiPropertyOptional()
@IsOptional() @IsOptional()
@IsObject()
payload?: Record<string, any>; payload?: Record<string, any>;
} }