Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d98c2cf19 | |||
| 7d8c6032c9 |
2
index.js
2
index.js
@@ -248,7 +248,7 @@ const Web3 = require('web3');
|
|||||||
let data = req.body;
|
let data = req.body;
|
||||||
// For some reason data is contained in a payload property on one
|
// For some reason data is contained in a payload property on one
|
||||||
// machine, but directly in the root of the object on others
|
// machine, but directly in the root of the object on others
|
||||||
if (data.payload) { data = data.payload; }
|
if (data.payload) { data = JSON.parse(data.payload); }
|
||||||
|
|
||||||
robot.logger.info(`Received GitHub hook. Event: ${evt}, action: ${data.action}`);
|
robot.logger.info(`Received GitHub hook. Event: ${evt}, action: ${data.action}`);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hubot-kredits",
|
"name": "hubot-kredits",
|
||||||
"version": "1.4.5",
|
"version": "1.4.6",
|
||||||
"description": "Kosmos Kredits functionality for chat bots",
|
"description": "Kosmos Kredits functionality for chat bots",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user