From 114d159449647edd41a96638e7fc6da8dffb4c85 Mon Sep 17 00:00:00 2001 From: Kuroshini Date: Fri, 11 Oct 2019 13:46:08 +0300 Subject: [PATCH] fix tests --- apps/account/serializers/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/account/serializers/web.py b/apps/account/serializers/web.py index f87c34b8..dd8ccec8 100644 --- a/apps/account/serializers/web.py +++ b/apps/account/serializers/web.py @@ -73,12 +73,12 @@ class PasswordResetConfirmSerializer(serializers.ModelSerializer): instance.save() if settings.USE_CELERY: tasks.send_reset_password_confirm.delay( - user_id=instance, + user=instance, country_code=self.context.get('request').country_code, ) else: tasks.send_reset_password_confirm( - user_id=instance, + user=instance, country_code=self.context.get('request').country_code, ) return instance