Commit 24258cd8 authored by Ben Hayward's avatar Ben Hayward

Feedback

1 merge request!341[Sprint/NuancedNumbat](fix): Null paging token #866
Pipeline #84439613 running with stages
......@@ -118,7 +118,7 @@ class Repository
$contributions[] = $contribution;
}
$pagingStateToken = $rows->pagingStateToken() ?: null;
$pagingStateToken = $rows ? $rows->pagingStateToken() : null;
return [
'contributions' => $contributions,
'token' => $pagingStateToken
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment