ciclos

commit c3627407fcda0353fdfc77b6326bf49084c04853

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Remove products list from json

 src/types/group.py | 1 -
 src/types/product_category.py | 1 -


diff --git a/src/types/group.py b/src/types/group.py
index 9f6176c478ae4b47a0c4eeaa0f7341f6c6b5703d..77ba5f774969abf08e082218ea4bd1d3ea37a35c 100644
--- a/src/types/group.py
+++ b/src/types/group.py
@@ -31,5 +31,4 @@         return {
             "id": self.id,
             "name": self.name,
             "location": self.location,
-            "products": list(map(lambda p: p.to_json(),self.products))
         }




diff --git a/src/types/product_category.py b/src/types/product_category.py
index dde57331cdb9c64c618f3e8c08b33015db5b1f3c..d83a8ae9bce2717ef4cf065ca060bb374a946f40 100644
--- a/src/types/product_category.py
+++ b/src/types/product_category.py
@@ -25,5 +25,4 @@     def to_json(self):
         return {
             "name": self.name,
             "description": self.description,
-            "products": list(map(lambda p: p.to_json(), self.products)) 
         }