fix [api] fix add_crawler_capture endpoint

This commit is contained in:
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

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)