fixbug
This commit is contained in:
@@ -174,8 +174,7 @@ func UpdateUser(ctx context.Context, u *user_model.User, opts *UpdateOptions) er
|
||||
if opts.AllowCreateActRunner.Has() {
|
||||
u.AllowCreateActRunner = opts.AllowCreateActRunner.Value()
|
||||
|
||||
// DB column name uses snake_case with underscore between "act" and "runner"
|
||||
cols = append(cols, "allow_create_act_runner")
|
||||
cols = append(cols, "allow_create_actrunner")
|
||||
}
|
||||
if opts.RepoAdminChangeTeamAccess.Has() {
|
||||
u.RepoAdminChangeTeamAccess = opts.RepoAdminChangeTeamAccess.Value()
|
||||
|
||||
Reference in New Issue
Block a user