You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support multiple webhooks on a single flask app (#7)
When `endpoint` argument is not passed to `app.add_url_rule`, flask uses `view_func.__name__` to uniquely identify callbacks. This results in all callbacks having the same "unique" idenfitier: `_postreceive`.
An easy fix is to explicitly pass in an endpoint name, which can be identical to rule name.
Signed-Off-By: Frederic Spieler <[email protected]>
0 commit comments