Fix misspelled
This commit is contained in:
@@ -39,7 +39,7 @@ before do
|
|||||||
|
|
||||||
unless Helper::do_not_parse_as_json.include? env['PATH_INFO']
|
unless Helper::do_not_parse_as_json.include? env['PATH_INFO']
|
||||||
request.body.rewind
|
request.body.rewind
|
||||||
json_string = request.body.reads
|
json_string = request.body.read
|
||||||
@json_params = JSON.parse json_string if json_string.length > 1
|
@json_params = JSON.parse json_string if json_string.length > 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user