mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-05 17:05:51 +08:00
Raise command API limit (#376)
This commit is contained in:
@@ -47,7 +47,7 @@ func EncodeError(ctx context.Context, err error, w http.ResponseWriter) {
|
||||
|
||||
func decodeRequest(ctx context.Context, r *http.Request) (interface{}, error) {
|
||||
var req newCommandRequest
|
||||
err := json.NewDecoder(io.LimitReader(r.Body, 10000)).Decode(&req)
|
||||
err := json.NewDecoder(io.LimitReader(r.Body, 100000)).Decode(&req)
|
||||
return req, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user