mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Moved url_prefix to inbound_number rest.py
This commit is contained in:
@@ -136,7 +136,7 @@ def register_blueprint(application):
|
|||||||
application.register_blueprint(delivery_blueprint)
|
application.register_blueprint(delivery_blueprint)
|
||||||
|
|
||||||
inbound_number_blueprint.before_request(requires_admin_auth)
|
inbound_number_blueprint.before_request(requires_admin_auth)
|
||||||
application.register_blueprint(inbound_number_blueprint, url_prefix='/inbound-number')
|
application.register_blueprint(inbound_number_blueprint)
|
||||||
|
|
||||||
inbound_sms_blueprint.before_request(requires_admin_auth)
|
inbound_sms_blueprint.before_request(requires_admin_auth)
|
||||||
application.register_blueprint(inbound_sms_blueprint)
|
application.register_blueprint(inbound_sms_blueprint)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ from app.dao.inbound_numbers_dao import (
|
|||||||
)
|
)
|
||||||
from app.errors import InvalidRequest, register_errors
|
from app.errors import InvalidRequest, register_errors
|
||||||
|
|
||||||
inbound_number_blueprint = Blueprint('inbound_number', __name__)
|
inbound_number_blueprint = Blueprint('inbound_number', __name__, url_prefix='/inbound-number')
|
||||||
register_errors(inbound_number_blueprint)
|
register_errors(inbound_number_blueprint)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user