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