From eb4dd885588ef7854cf12c460adc2f8a436082ce Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 30 Jul 2021 16:24:54 +0300 Subject: [PATCH] user.save() call --- resolvers/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resolvers/auth.py b/resolvers/auth.py index f279443a..4c03e1a5 100644 --- a/resolvers/auth.py +++ b/resolvers/auth.py @@ -16,6 +16,7 @@ async def confirm(*_, confirm_token): auth_token, user = await Authorize.confirm(confirm_token) if auth_token: user.emailConfirmed = True + user.save() return { "status": True, "token": auth_token } else: return { "status": False, "error": "Email not confirmed"}