From 3d47ee44eb6d3bebbd7646fd13b03f1bce4652dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 9 Mar 2015 16:35:51 +0100 Subject: [PATCH] Fixed bug #2370: Now showing correctly the payload of the request --- app/coffee/modules/admin/third-parties.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/admin/third-parties.coffee b/app/coffee/modules/admin/third-parties.coffee index dd4055e0..640c0152 100644 --- a/app/coffee/modules/admin/third-parties.coffee +++ b/app/coffee/modules/admin/third-parties.coffee @@ -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