Fix(admin) create product type tag (#963)
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in new issue
Block a user