fix(cards): allow payload object in DTOs
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import {
|
||||
IsDateString,
|
||||
IsEnum,
|
||||
IsOptional,
|
||||
IsObject,
|
||||
IsString,
|
||||
IsUUID,
|
||||
MaxLength,
|
||||
@@ -51,6 +52,7 @@ export class CreerCarteDto {
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
@IsObject()
|
||||
payload?: Record<string, any>;
|
||||
}
|
||||
|
||||
@@ -86,6 +88,7 @@ export class MajCarteDto {
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
@IsObject()
|
||||
payload?: Record<string, any>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user