Fix(admin) create product type tag (#963)
This commit is contained in:
@@ -450,7 +450,7 @@ export class AdminPostProductsReq {
|
||||
@Type(() => ProductTagReq)
|
||||
@ValidateNested({ each: true })
|
||||
@IsArray()
|
||||
tags?: ProductTagReq
|
||||
tags?: ProductTagReq[]
|
||||
|
||||
@IsOptional()
|
||||
@Type(() => ProductOptionReq)
|
||||
|
||||
Reference in New Issue
Block a user