author | Matthew Wild <mwild1@gmail.com> |
Fri, 27 Feb 2015 16:42:36 +0000 | |
changeset 1624 | 754d97ba333d |
parent 1623 | 43c54a27bab2 |
child 1625 | 738e9874a374 |
--- a/mod_pubsub_github/mod_pubsub_github.lua Fri Feb 27 16:25:48 2015 +0000 +++ b/mod_pubsub_github/mod_pubsub_github.lua Fri Feb 27 16:42:36 2015 +0000 @@ -8,7 +8,7 @@ local node = module:get_option("github_node", "github"); function handle_POST(event) - local data = json.decode(formdecode(event.request.body).payload); + local data = json.decode(event.request.body); if not data then return "Invalid JSON. From you of all people..."; end