diff --git a/src/main/java/com/example/cosmos_serversb/models/Groups.java b/src/main/java/com/example/cosmos_serversb/models/Groups.java index 8aacdcd..9b54848 100644 --- a/src/main/java/com/example/cosmos_serversb/models/Groups.java +++ b/src/main/java/com/example/cosmos_serversb/models/Groups.java @@ -4,6 +4,8 @@ import javax.inject.Singleton; import com.example.cosmos_serversb.entities.*; +import com.fasterxml.jackson.databind.util.JSONPObject; +import org.json.*; import org.hibernate.Session; import org.hibernate.SessionFactory; @@ -143,7 +145,6 @@ Session session = SessionManager.getInstance().getSession(); User user = (User) session.load(User.class, uId); for(Group group : user.groups){ - System.out.println(group); groupsMap.put(group.getgId(), group.getUri()); } return groupsMap;