mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +00:00
response.body should not be return as string
This commit is contained in:
parent
ed8d25f89f
commit
c716f78f2a
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.to_s
|
response: response.body
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue