mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Pass the correct key information to the task
This commit is contained in:
@@ -88,7 +88,7 @@ def import_eve_character(character_id, api_key=None, user_id=None, callback=None
|
|||||||
|
|
||||||
if pchar.director and api_key and user_id:
|
if pchar.director and api_key and user_id:
|
||||||
from eve_api.tasks.corporation import import_corp_members
|
from eve_api.tasks.corporation import import_corp_members
|
||||||
import_corp_members.delay(api_key=account.api_key, api_userid=account.api_user_id, character_id=char.id)
|
import_corp_members.delay(api_key=api_key, api_userid=api_userid, character_id=char.id)
|
||||||
|
|
||||||
if callback:
|
if callback:
|
||||||
callback.delay(character=pchar.id)
|
callback.delay(character=pchar.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user