Skip to content
Snippets Groups Projects
Verified Commit 8f997dd2 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Fix typo

parent f8214f94
No related branches found
No related tags found
No related merge requests found
......@@ -729,7 +729,7 @@ class APITimeSlotViewSet(
def update(self, request, *args, **kwargs):
show_pk = get_values(self.kwargs, "show_pk")
if not request.user.is_superuser and show_pk not in request.user.shows.values_lis(
if not request.user.is_superuser and show_pk not in request.user.shows.values_list(
"id", flat=True
):
return Response(status=status.HTTP_401_UNAUTHORIZED)
......
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