format code

This commit is contained in:
Yuli Stremovsky
2023-06-30 00:40:39 +03:00
parent 87ed323b35
commit 7562c03bc4

View File

@@ -499,7 +499,7 @@ func getJSONPostMap(r *http.Request) (map[string]interface{}, error) {
return records, nil
}
func getJSONPostData(r *http.Request) ([]byte, error){
func getJSONPostData(r *http.Request) ([]byte, error) {
cType, _, err := mime.ParseMediaType(r.Header.Get("Content-Type"))
if err != nil {
fmt.Printf("ignoring empty content-type: %s\n", err)