Skip to content

Commit 2b36be3

Browse files
committed
fix bug in verify route
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent a677f6a commit 2b36be3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/managers/auth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ async def verify(code: str, session: AsyncSession) -> None:
181181
verified=True,
182182
)
183183
)
184+
await session.commit()
184185

185186
raise HTTPException(
186187
status.HTTP_200_OK, ResponseMessages.VERIFICATION_SUCCESS

0 commit comments

Comments
 (0)