Skip to content
Snippets Groups Projects
Commit e218cfa3 authored by Kamil Trzciński's avatar Kamil Trzciński
Browse files

Make /api/v4/users/:user_id/projects authenticated

parent 3ee4d98e
No related merge requests found
......@@ -85,6 +85,8 @@ def translate_params_for_compatibility(params)
use :with_custom_attributes
end
get ":user_id/projects" do
authenticate!
user = find_user(params[:user_id])
not_found!('User') unless user
......
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