Fixed benchmark form submission error

This commit is contained in:
gballan committed 2025-07-14 13:53:50 -04:00
1 parent c8a47b270a
commit 743a108add
1 file changed
+2 -1
+2 -1
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)