summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-02-02 20:53:21 +0100
committerCamil Staps <info@camilstaps.nl>2019-08-07 20:49:16 +0200
commit99bb207ef14d12fe59e23fd70e219ed5e166470b (patch)
tree6103d3c62349e2ed56bfab52c492c0dc3c035fa0 /lib/api/projects.rb
parente8bdcdf0f89d88463f6fb8a67e85f315e6a9097d (diff)
downloadgitlab-ce-99bb207ef14d12fe59e23fd70e219ed5e166470b.tar.gz
Fix tests
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 6d221200372..996205d4b7b 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -382,7 +382,7 @@ module API
use :pagination
end
get ':id/starrers' do
- starrers = UsersStarProjectsFinder.new(params, user_project, current_user: current_user).execute
+ starrers = UsersStarProjectsFinder.new(user_project, params, current_user: current_user).execute
present paginate(starrers), with: Entities::UserStarsProject
end