Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 5, 2023
1 parent 19cd015 commit af5d3b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion posthog/api/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ def get_queryset(self) -> QuerySet:
def _filter_request(self, request: Request, queryset: QuerySet) -> QuerySet:
filters = request.GET.dict()

for key, value in filters.items():
for key in filters.items():
value = request.GET[key]
if key == "user":
queryset = queryset.filter(created_by=request.user)
elif key == "created_by":
Expand Down

0 comments on commit af5d3b7

Please sign in to comment.