mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-03 11:27:47 +00:00
format code
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user