Skip to content

Commit

Permalink
Fix list service status
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed Jan 22, 2021
1 parent 501670e commit c8295eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion weni/api/v1/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)


Expand Down
2 changes: 1 addition & 1 deletion weni/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c8295eb

Please sign in to comment.