summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
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 dc9959b619f..f8f0ff48be0 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -128,7 +128,7 @@ module API
user = find_user(params[:user_id])
not_found!('User') unless user
- starred_projects = StarredProjectsFinder.new(user).execute(current_user)
+ starred_projects = StarredProjectsFinder.new(user, current_user: current_user).execute
present_projects starred_projects
end
end