Fix(admin) create product type tag (#963)
This commit is contained in:
committed by
GitHub
parent
2efab08040
commit
77d2014ab4
@@ -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