mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
add: team valid
This commit is contained in:
@@ -43,6 +43,7 @@ class Organizations::TeamsController < Organizations::BaseController
|
||||
end
|
||||
|
||||
def update
|
||||
Organizations::CreateTeamForm.new(team_params).validate!
|
||||
@team = Organizations::Teams::UpdateService.call(current_user, @team, team_params)
|
||||
rescue Exception => e
|
||||
uid_logger_error(e.message)
|
||||
|
||||
Reference in New Issue
Block a user