diff --git a/lambdainst/models.py b/lambdainst/models.py index 179ef90..e8c5b27 100644 --- a/lambdainst/models.py +++ b/lambdainst/models.py @@ -90,7 +90,7 @@ class VPNUser(models.Model, LcoreUserProfileMethods): if VPN_AUTH_STORAGE == 'inst': return from lambdainst.tasks import push_user - push_user.delay(user_id=self.id) + push_user.delay(user_id=self.user.id) def __str__(self): return self.user.username