Commit 17607920 authored by Ben Hayward's avatar Ben Hayward

Handling null paging state token.

1 merge request!341WIP: [Sprint/NuancedNumbat](fix): Null paging token #866
Pipeline #84132676 passed with stages
in 10 minutes and 14 seconds
......@@ -118,8 +118,7 @@ class Repository
$contributions[] = $contribution;
}
return [
return $rows ?: [
'contributions' => $contributions,
'token' => $rows->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