mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +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 {
|
||||
continue
|
||||
}
|
||||
if len(product.Flags) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
flags := make([]string, len(product.Flags))
|
||||
for i, f := range product.Flags {
|
||||
|
||||
Reference in New Issue
Block a user