Skip to content
Snippets Groups Projects
Commit 5ec6eaac authored by Lennard Strohmeyer's avatar Lennard Strohmeyer :penguin:
Browse files

#162: return empty groups list to frontend when user has not declared any consents

parent 73973b48
No related branches found
No related tags found
1 merge request!1#155: fixed data disclosure tests for environments where no mongodb is...
Pipeline #1657311 passed
......@@ -506,6 +506,7 @@ class GetUserConsentHistoryView(APIView):
except ObjectDoesNotExist:
return JsonResponse(
{
"groups": [],
"message": "User has no consent declaration record.",
"no_consent_record": True,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment