Commit 9d8124ee authored by Kassio Borges's avatar Kassio Borges

Add the params to the new api

parent b8f7c835
......@@ -10,6 +10,9 @@ module API
desc 'Download the group avatar' do
detail 'This feature was introduced in GitLab 14.0'
end
params do
requires :id, type: String, desc: 'The group id'
end
get ':id/avatar' do
present_carrierwave_file!(user_group.avatar)
end
......
Markdown is supported
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