Fixed bug #2370: Now showing correctly the payload of the request
parent
9726992b84
commit
3d47ee44eb
|
@ -89,7 +89,7 @@ WebhookDirective = ($rs, $repo, $confirm, $loading) ->
|
|||
for log in webhooklogs
|
||||
log.validStatus = 200 <= log.status < 300
|
||||
log.prettySentHeaders = _.map(_.pairs(log.request_headers), ([header, value]) -> "#{header}: #{value}").join("\n")
|
||||
log.prettySentData = JSON.stringify(log.request_data.data, undefined, 2)
|
||||
log.prettySentData = JSON.stringify(log.request_data)
|
||||
log.prettyDate = moment(log.created).format("DD MMM YYYY [at] hh:mm:ss") # TODO: i18n
|
||||
|
||||
webhook.logs_counter = webhooklogs.length
|
||||
|
|
Loading…
Reference in New Issue