Fix(admin) create product type tag (#963)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2022-01-03 18:13:04 +01:00
1 parent 2efab08040
commit 77d2014ab4
1 file changed
+1 -1
@@ -450,7 +450,7 @@ export class AdminPostProductsReq {
@Type(() => ProductTagReq) @Type(() => ProductTagReq)
@ValidateNested({ each: true }) @ValidateNested({ each: true })
@IsArray() @IsArray()
tags?: ProductTagReq tags?: ProductTagReq[]
@IsOptional() @IsOptional()
@Type(() => ProductOptionReq) @Type(() => ProductOptionReq)