Pass the ID instead of the object, save on message size

This commit is contained in:
2010-11-08 18:19:01 +00:00
parent 7205e4cd97
commit c6429a4e56

View File

@@ -52,7 +52,7 @@ def import_apikey(api_userid, api_key, user=None, force_cache=False):
acc.save() acc.save()
if acc.user: if acc.user:
update_user_access.delay(user=acc.user) update_user_access.delay(user=acc.user.id)
return acc return acc