fix push_user being called with VPNUser id

master
alice 4 years ago
parent db99ddcac7
commit 3ede41c0f4

@ -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

Loading…
Cancel
Save