fix [api] fix add_crawler_capture endpoint

dev
terrtia 2023-12-07 15:01:47 +01:00
parent cea96863ba
commit 3642eb5429
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -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)