From e8768ddaae72e6f40cd63509356e3ee434a91939 Mon Sep 17 00:00:00 2001
From: Sylvain Le Bon <sylvain@startinblox.com>
Date: Thu, 5 Oct 2023 18:10:16 +0200
Subject: [PATCH] update: groups are not a nested field, just a flat list

---
 djangoldp_account/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/djangoldp_account/models.py b/djangoldp_account/models.py
index 525c161..60c8335 100644
--- a/djangoldp_account/models.py
+++ b/djangoldp_account/models.py
@@ -25,7 +25,7 @@ user_fields = ['@id', 'first_name', 'groups', 'last_name', 'username', 'email',
 if 'djangoldp_uploader' in settings.DJANGOLDP_PACKAGES:
     user_fields += ['uploadURL']
 
-user_nested_fields = ['account', 'groups', 'chatProfile']
+user_nested_fields = ['account', 'chatProfile']
 user_empty_containers = []
 for dldp_module in djangoldp_modules:
     try:
-- 
GitLab