Commit 5af18725 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

add get apis

parent 1fe28aad
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -118,7 +118,12 @@ def delete_user(username, password):
        return jsonify(message="Invalid parameters", object=None), 400
    return operations.delete_user(username, password)

# @backoffice_routes.route("/apis", methods=["GET"])
# @jwt_required()
# def get_apis():
#     return operations.get_apis()

@backoffice_routes.route("/apis", methods=["GET"])
@jwt_required()
def get_apis():
    return operations.get_apis()
    return "exito"