Merge branch 'fix/sm/35825-api-specs-and-linting-failing-on-master' into 'master'
Fix "API specs and linting failing on master" Closes #35825 See merge request !13227
This commit is contained in:
commit
1814fef814
2 changed files with 1 additions and 4 deletions
|
@ -88,6 +88,7 @@ module API
|
|||
variable = user_group.variables.find_by(key: params[:key])
|
||||
not_found!('GroupVariable') unless variable
|
||||
|
||||
status 204
|
||||
variable.destroy
|
||||
end
|
||||
end
|
||||
|
|
|
@ -33,10 +33,6 @@ module API
|
|||
@project ||= find_project!(params[:id])
|
||||
end
|
||||
|
||||
def user_group
|
||||
@group ||= find_group!(params[:id])
|
||||
end
|
||||
|
||||
def available_labels
|
||||
@available_labels ||= LabelsFinder.new(current_user, project_id: user_project.id).execute
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue