hub.sr.ht/hubsrht/blueprints/webhooks.py

12 lines
236 B
Python
Raw Normal View History

2020-03-24 15:26:15 +01:00
from flask import Blueprint
webhooks = Blueprint("webhooks", __name__)
@webhooks.route("/webhooks/git-repo")
def git_repo_update():
pass # TODO
2020-03-25 15:08:29 +01:00
@webhooks.route("/webhooks/mailing-list")
def mailing_list_update():
pass # TODO