mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 18:38:06 +00:00
fix error message
This commit is contained in:
@@ -463,7 +463,7 @@ func getJSONPostData(r *http.Request) (map[string]interface{}, error) {
|
||||
return nil, err
|
||||
}
|
||||
} else {
|
||||
log.Printf("Ignoring wrong content type: %s", cType)
|
||||
log.Printf("Ignore wrong content type: %s", cType)
|
||||
max_str_len := 200
|
||||
if len(body) < max_str_len {
|
||||
max_str_len = len(body)
|
||||
|
||||
Reference in New Issue
Block a user