fix(projects): allow max columns to the limit (#39272)

Signed-off-by: Petr Vaněk <pevadev@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Petr Vaněk
2026-09-10 22:32:46 +02:00
committed by GitHub
co-authored by silverwind
parent 579de92b8a
commit 40385ef284
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ func AddColumnToProjectPost(ctx *context.Context) {
Color: form.Color,
CreatorID: ctx.Doer.ID,
}); err != nil {
ctx.ServerError("NewProjectColumn", err)
ctx.JSONErrorAuto(err)
return
}
@@ -113,7 +113,7 @@ func EditProjectColumn(ctx *context.Context) {
}
if err := project_model.UpdateColumn(ctx, column); err != nil {
ctx.ServerError("UpdateProjectColumn", err)
ctx.JSONErrorAuto(err)
return
}