diff options
author | Camil Staps <info@camilstaps.nl> | 2019-01-28 22:57:56 +0300 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 21:49:16 +0300 |
commit | 1ec8c0e837ff4ba42adbc7cc1e9a15a04f2afd7e (patch) | |
tree | b331df26acf8243353332b3a19ee51285f986609 /lib | |
parent | afc2f6a0316ec79b2fd818e292a8aa191b6a47eb (diff) |
Fix API endpoint for starred projects of a user; add info about starred projects on profile to documentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/projects.rb | 2 |
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 |