aggiunta integrazione github sperimentale
This commit is contained in:
parent
182c7b9887
commit
dd92b952a6
8
scripts/github.coffee
Normal file
8
scripts/github.coffee
Normal file
@ -0,0 +1,8 @@
|
||||
# Description:
|
||||
# interazioni tra asjon e github
|
||||
|
||||
module.exports = (robot) ->
|
||||
robot.router.post '/hubot/githubhook/:room', (req, res) ->
|
||||
res.end 200
|
||||
console.log req.body
|
||||
robot.send req.params.room, JSON.stringify req.body
|
Loading…
Reference in New Issue
Block a user