Skip to content
Snippets Groups Projects

Add shared_runners_minutes_limit to groups and users API

Merged username-removed-423915 requested to merge add-api-shared_runners_minutes_limit into master
All threads resolved!
3 files
+ 1
5
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 0
2
@@ -119,8 +119,6 @@ def present_groups(groups, options = {})
@@ -119,8 +119,6 @@ def present_groups(groups, options = {})
optional :name, type: String, desc: 'The name of the group'
optional :name, type: String, desc: 'The name of the group'
optional :path, type: String, desc: 'The path of the group'
optional :path, type: String, desc: 'The path of the group'
use :optional_params
use :optional_params
at_least_one_of(*@declared_params.flatten - [:id])
end
end
put ':id' do
put ':id' do
group = find_group!(params[:id])
group = find_group!(params[:id])
Loading