Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
[Sprint/NuancedNumbat](fix): Null paging token
#866
· 719eb4a4
Ben
authored
Sep 28, 2019
and
Mark Harding
committed
Sep 28, 2019
719eb4a4
Merge branch 'fix/null-paging-token-866' into 'master'
· 1071aa8f
Mark Harding
authored
Sep 28, 2019
[Sprint/NuancedNumbat](fix): Null paging token
#866
Closes
#866
See merge request
!341
1071aa8f
Hide whitespace changes
Inline
Side-by-side
Core/Rewards/Contributions/Repository.php
View file @
1071aa8f
...
...
@@ -118,10 +118,10 @@ class Repository
$contributions
[]
=
$contribution
;
}
$pagingStateToken
=
$rows
?
$rows
->
pagingStateToken
()
:
null
;
return
[
'contributions'
=>
$contributions
,
'token'
=>
$
rows
->
pagingStateToken
()
'token'
=>
$pagingStateToken
];
}
...
...