From 712ff325522688cc39c27629b4e6eb34462e111c Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 27 Nov 2024 19:20:18 -0800 Subject: [PATCH] fixup: api: SubmissionCreate in request body --- pkg/service/submissions.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/service/submissions.go b/pkg/service/submissions.go index 2b6473a..681aac1 100644 --- a/pkg/service/submissions.go +++ b/pkg/service/submissions.go @@ -18,7 +18,6 @@ var ( // POST /submissions func (svc *Service) CreateSubmission(ctx context.Context, request api.OptSubmissionCreate) (*api.ID, error) { - //I don't know how to read the http body submission, err := svc.DB.Submissions().Create(ctx, model.Submission{ ID: 0, DisplayName: request.Value.DisplayName.Value,