rm custom config, fix password reset

This commit is contained in:
peintnermax
2024-09-10 13:54:09 +02:00
parent 386ed7d297
commit 1466bb3b70
5 changed files with 18 additions and 17 deletions

View File

@@ -15,8 +15,8 @@ export async function resetPassword(command: ResetPasswordCommand) {
if (
!users.details ||
Number(users.details.totalResult) !== 1 ||
users.result[0].userId
users.details.totalResult !== BigInt(1) ||
!users.result[0].userId
) {
throw Error("Could not find user");
}