Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: Stop failover history from looping when reaching the end of results
  • Loading branch information
c-warren committed Dec 10, 2025
commit b5ba7c39f6f6810f31ebdf8d4390569b271b4a75
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function getDomainFailoverHistoryQueryOptions(
})
).then((res) => res.json()),
initialPageParam: undefined,
getNextPageParam: (res) => res.nextPageToken,
getNextPageParam: (res) => res.nextPageToken != "" ? res.nextPageToken : undefined,
retry: false,
};
}
Loading