webhook endpoint

This commit is contained in:
Gardient
2021-09-30 23:01:16 +03:00
parent 04d70ba424
commit a0dbdc4ddf
7 changed files with 35 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
from flask import Flask, Blueprint
from . import commands, login, target_exchange, target, registration
from . import commands, login, target_exchange, target, registration, webhook
from .exceptions import ApiException
from .extensions import db, migrate, jwt, apispec, rabbit
from .settings import ProdConfig, Config
@@ -44,6 +44,7 @@ def register_blueprints(app: Flask):
api_blueprint.register_blueprint(registration.views.blueprint, url_prefix='/registration')
app.register_blueprint(api_blueprint)
app.register_blueprint(webhook.views.blueprint)
def register_apispecs(app: Flask):