Skip to content

Commit

Permalink
fix: has_{next,previous}_page are not nullable
Browse files Browse the repository at this point in the history
not returning has_next_page or has_previous_page is causing a GQL error
  • Loading branch information
joseph-sentry committed Nov 12, 2024
1 parent 1af369e commit 84e63cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion graphql_api/types/test_analytics/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,12 @@ def generate_test_results(
return TestResultConnection(
edges=[],
total_count=0,
page_info={},
page_info={
"has_next_page": False,
"has_previous_page": False,
"start_cursor": None,
"end_cursor": None,
},
)

if term:
Expand Down

0 comments on commit 84e63cd

Please sign in to comment.