fixup: api: SubmissionCreate in request body

This commit is contained in:
Quaternions 2024-11-27 19:20:18 -08:00
parent bb46697277
commit 712ff32552

View File

@ -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,