mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-21 20:25:45 +08:00
add: fix some data task
This commit is contained in:
@@ -33,7 +33,7 @@ class Organizations::Teams::UpdateService < ApplicationService
|
||||
end
|
||||
|
||||
def units_params
|
||||
%w(admin owner).include?(team.authorize) ? %w(code issues pulls releases) : params[:unit_types]
|
||||
%w(code issues pulls wiki releases)
|
||||
end
|
||||
|
||||
def update_team(update_params)
|
||||
|
||||
Reference in New Issue
Block a user