diff --git a/weni/api/v1/dashboard/views.py b/weni/api/v1/dashboard/views.py index b848f56d..0986dd38 100644 --- a/weni/api/v1/dashboard/views.py +++ b/weni/api/v1/dashboard/views.py @@ -35,7 +35,8 @@ class StatusServiceViewSet(mixins.ListModelMixin, GenericViewSet): def get_queryset(self, *args, **kwargs): return self.queryset.filter( - Q(user=self.request.user) & Q(service__default=True) + (Q(user=self.request.user) & Q(service__default=True)) + | Q(user=self.request.user) ) diff --git a/weni/urls.py b/weni/urls.py index c0e14067..45c13068 100644 --- a/weni/urls.py +++ b/weni/urls.py @@ -27,7 +27,7 @@ schema_view = get_schema_view( openapi.Info( title="API Documentation", - default_version="v1.0.6", + default_version="v1.0.7", license=openapi.License(name="GPL-3.0 License"), ), public=True,