bradshjg / flask-githubapp

Flask extension for rapid Github app development in Python, in the spirit of probot (https://probot.github.io/)
MIT License
56 stars 14 forks source link

Allow Returning Response from Hook Request #5

Closed bradshjg closed 5 years ago

bradshjg commented 5 years ago

Currently no matter what the hook function returns, a 200 response with the body "OK" is returned by the server.

...but what do we return if multiple hook functions are run 😢 ?

Maybe

{
  "some_function": "some_function response",
  "some_other_function": "some_other_function response"
}