mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix [api] fix add_crawler_capture endpoint
This commit is contained in:
parent
cea96863ba
commit
3642eb5429
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ def add_crawler_task():
|
||||||
|
|
||||||
@restApi.route("api/v1/add/crawler/capture", methods=['POST'])
|
@restApi.route("api/v1/add/crawler/capture", methods=['POST'])
|
||||||
@token_required('analyst')
|
@token_required('analyst')
|
||||||
def add_crawler_task():
|
def add_crawler_capture():
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
user_token = get_auth_from_header()
|
user_token = get_auth_from_header()
|
||||||
user_id = Users.get_token_user(user_token)
|
user_id = Users.get_token_user(user_token)
|
||||||
|
|
Loading…
Reference in a new issue