Skip to content

Commit

Permalink
Fix missing newline for file array in go-server/controller-api.mustac…
Browse files Browse the repository at this point in the history
…he (#16787)
  • Loading branch information
ErikBooijMB authored Oct 12, 2023
1 parent 34265e5 commit 1dfdeaf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ func (c *{{classname}}Controller) {{nickname}}(w http.ResponseWriter, r *http.Re
{{/isQueryParam}}
{{#isFormParam}}
{{#isFile}}{{#isArray}}
{{paramName}}Param, err := ReadFormFilesToTempFiles(r, "{{baseName}}"){{/isArray}}{{^isArray}}
{{paramName}}Param, err := ReadFormFilesToTempFiles(r, "{{baseName}}")
{{/isArray}}{{^isArray}}
{{paramName}}Param, err := ReadFormFileToTempFile(r, "{{baseName}}")
{{/isArray}}
if err != nil {
Expand Down

0 comments on commit 1dfdeaf

Please sign in to comment.