This commit is contained in:
piroxicam
2025-11-12 21:33:10 +08:00
repo.diff.parent 7be67bf669
repo.diff.commit fbb30e8daf

repo.diff.view_file

@@ -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()