mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Remove the view packages
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
from flask import Blueprint
|
||||
|
||||
service = Blueprint('service', __name__)
|
||||
|
||||
from app.service.views import rest
|
||||
|
||||
@@ -14,10 +14,12 @@ from app.dao.tokens_dao import (save_model_token, get_model_tokens, get_unsigned
|
||||
from app.models import Token
|
||||
from app.schemas import (
|
||||
services_schema, service_schema, template_schema)
|
||||
from .. import service
|
||||
|
||||
from flask import Blueprint
|
||||
service = Blueprint('service', __name__)
|
||||
|
||||
|
||||
|
||||
# TODO auth to be added.
|
||||
@service.route('/', methods=['POST'])
|
||||
def create_service():
|
||||
# TODO what exceptions get passed from schema parsing?
|
||||
Reference in New Issue
Block a user