From 191d6817f4cc0cc6cabc6ba2b1dfda122ad19635 Mon Sep 17 00:00:00 2001 From: mxnoob Date: Mon, 19 Aug 2024 09:48:39 +0300 Subject: [PATCH] update users me --- src/backend/api/v1/users/serializers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/api/v1/users/serializers.py b/src/backend/api/v1/users/serializers.py index 293ecb6..803a89b 100644 --- a/src/backend/api/v1/users/serializers.py +++ b/src/backend/api/v1/users/serializers.py @@ -169,7 +169,6 @@ def get_projects(self, obj): my_projects = set( Team.objects.filter( members__user=obj, - projects__status=Project.Status.STARTED, ).values_list("projects__name", flat=True) ) cache.set(CacheKey.MY_PROJECTS.format(user_id=obj.id), my_projects)