Browse Source

Product

- fix: Variant defenition
Alexey Kim 2 năm trước cách đây
mục cha
commit
3be088cbc8
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      relation/product.go

+ 0 - 1
relation/product.go

@@ -69,7 +69,6 @@ func (p *Product) As() *generated.Product {
 		TotalInventory:           nil,
 		UpdatedAt:                scalar.NewDateTimeFrom(p.UpdatedAt),
 		VariantBySelectedOptions: nil,
-		Variants:                 "",
 		Vendor:                   p.Vendor.String,
 	}
 }