Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Update api blueprint to conform to new rules on flask
core/blueprints/api.py | 2 +-
diff --git a/core/blueprints/api.py b/core/blueprints/api.py index 2354c5a9d8fc5abc3a2aefcad53e41390407fca6..3d49d78c2e7615844a93c6c3c6ef46bb9b991b8b 100644 --- a/core/blueprints/api.py +++ b/core/blueprints/api.py @@ -4,7 +4,7 @@ from core.types.document import Document from core.database import db import json -api = Blueprint("api.v1", __name__) +api = Blueprint("apiv1", __name__) @api.route('/api/v1', methods = ['POST']) def create():