Skip to content

Commit

Permalink
fix: [api] fix add crawler task user_org
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 24, 2025
1 parent bc23518 commit 8cd1615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/www/blueprints/api_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def v1_pyail_version():
def add_crawler_task():
data = request.get_json()
user_token = get_auth_from_header()
user_org, user_id, _ = get_basic_user_meta(token)
user_org, user_id, _ = ail_api.get_basic_user_meta(user_token)
res = crawlers.api_add_crawler_task(data, user_org, user_id=user_id)
if res:
return create_json_response(res[0], res[1])
Expand Down

0 comments on commit 8cd1615

Please sign in to comment.