From 422737cfbed698aadd5c0b56168f8c9f44ca0255 Mon Sep 17 00:00:00 2001 From: ahdamin Date: Mon, 7 Oct 2024 22:39:13 +0200 Subject: [PATCH] Delete this unreachable code --- genotype_api/database/crud/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/genotype_api/database/crud/update.py b/genotype_api/database/crud/update.py index b64be46..57f065b 100644 --- a/genotype_api/database/crud/update.py +++ b/genotype_api/database/crud/update.py @@ -96,4 +96,3 @@ async def update_user_email(self, user: User, email: EmailStr) -> User: await self.session.commit() await self.session.refresh(user) return user - return user