From ab6542bc42108c87ff64c4763dfd171877bfcc70 Mon Sep 17 00:00:00 2001 From: Anatolii Lapytskyi Date: Fri, 9 Jun 2023 11:26:09 +0200 Subject: [PATCH] rename get_connector -> get_connection --- services/connector/bp/bp_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/connector/bp/bp_database.py b/services/connector/bp/bp_database.py index 36bb5fe4..efcb07a1 100644 --- a/services/connector/bp/bp_database.py +++ b/services/connector/bp/bp_database.py @@ -10,8 +10,8 @@ bp = Blueprint('database', __name__, url_prefix='/api') -@bp.route('/get_connector', methods=['POST']) -def get_connector(): +@bp.route('/get_connection', methods=['POST']) +def get_connection(): props = json.loads(request.data) func = props['func'] if func == 'ping':