mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 15:25:43 +00:00
Merge branch 'codex/sales-at-farm-level' into 'development'
[FIX][BE]: adjust get data product suppliers See merge request mbugroup/lti-api!394
This commit is contained in:
@@ -30,6 +30,9 @@ func toSupplierProductDTOs(relations []entity.ProductSupplier) []SupplierProduct
|
|||||||
if product.Id == 0 {
|
if product.Id == 0 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if len(product.Flags) == 0 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
flags := make([]string, len(product.Flags))
|
flags := make([]string, len(product.Flags))
|
||||||
for i, f := range product.Flags {
|
for i, f := range product.Flags {
|
||||||
|
|||||||
Reference in New Issue
Block a user