From 3642eb5429008f60777d221e673ced601225675b Mon Sep 17 00:00:00 2001 From: terrtia Date: Thu, 7 Dec 2023 15:01:47 +0100 Subject: [PATCH] fix [api] fix add_crawler_capture endpoint --- var/www/modules/restApi/Flask_restApi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/modules/restApi/Flask_restApi.py b/var/www/modules/restApi/Flask_restApi.py index 90dba6d6..1b41bd4e 100644 --- a/var/www/modules/restApi/Flask_restApi.py +++ b/var/www/modules/restApi/Flask_restApi.py @@ -525,7 +525,7 @@ def add_crawler_task(): @restApi.route("api/v1/add/crawler/capture", methods=['POST']) @token_required('analyst') -def add_crawler_task(): +def add_crawler_capture(): data = request.get_json() user_token = get_auth_from_header() user_id = Users.get_token_user(user_token)