mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +00:00
response.body is a string. It should be serialized
This commit is contained in:
parent
7412cd5cf3
commit
7997b21b17
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module GrapeLogging
|
||||||
class Response < GrapeLogging::Loggers::Base
|
class Response < GrapeLogging::Loggers::Base
|
||||||
def parameters(request, response)
|
def parameters(request, response)
|
||||||
{
|
{
|
||||||
response: response.body
|
response: JSON.parse(response.body)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue