diff --git a/application/views/user/user.py b/application/views/user/user.py index dc76b451e559b2923ad46fff01664245df0fbd44..db5afb4f29af5e17b3de1c6fee4383bba983b05a 100644 --- a/application/views/user/user.py +++ b/application/views/user/user.py @@ -12,6 +12,7 @@ import json from flask import Blueprint, current_app, request, jsonify +from flask_restful import Api from application.services import UserService from marshmallow import ValidationError @@ -20,6 +21,7 @@ from application.utils import ElasticsearchUtil from application.common import ConfigHelper user_api = Blueprint('user_api', __name__) +api_users = Api(user_api) @user_api.route('/users', methods=['GET'])