fix verify email api

This commit is contained in:
Simon Larsen 2023-01-03 09:42:44 +00:00
parent a8e104db5b
commit 18f37fca7b
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -271,8 +271,7 @@ router.post(
const user: User | null = await UserService.findOneBy({
query: {
email: token.email!,
_id: token._id!,
email: alreadySavedToken.email!,
},
props: {
isRoot: true,