Browse Source

og

push-params
Evan Feenstra 4 years ago
parent
commit
ab9183d20c
  1. 1
      api/controllers/actions.ts
  2. 1
      dist/api/controllers/actions.js
  3. 2
      dist/api/controllers/actions.js.map

1
api/controllers/actions.ts

@ -25,6 +25,7 @@ export interface Action {
}
export async function processAction(req, res) {
console.log('=> processAction',req.body)
let body = req.body
if (body.data && typeof body.data === 'string' && body.data[1] === "'") {
try { // parse out body from "data" for github webhook action

1
dist/api/controllers/actions.js

@ -24,6 +24,7 @@ hexdump -n 16 -e '4/4 "%08X" 1 "\n"' /dev/random
const constants = require(path.join(__dirname, '../../config/constants.json'));
function processAction(req, res) {
return __awaiter(this, void 0, void 0, function* () {
console.log('=> processAction', req.body);
let body = req.body;
if (body.data && typeof body.data === 'string' && body.data[1] === "'") {
try { // parse out body from "data" for github webhook action

2
dist/api/controllers/actions.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save