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

This commit is contained in:
Adrien de Peretti
2022-01-03 18:13:04 +01:00
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)