Fixed benchmark form submission error

This commit is contained in:
2025-07-14 13:53:50 -04:00
parent c8a47b270a
commit 743a108add

View File

@ -56,7 +56,8 @@ func BenchmarkPostCreate(c flamego.Context, form forms.BenchmarkForm, errs bindi
benchmark := models.Benchmark{
Name: form.Name,
Type: form.Type,
ScoringType: form.ScoringType,
Description: form.Description,
}
_ = models.DB.Create(&benchmark)