From 4db5d9dab239650c773e06081a285691c23c7bfa Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 3 Jan 2024 12:08:18 +0100 Subject: [PATCH] Lint --- packages/worker/src/sdk/auth/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/sdk/auth/auth.ts b/packages/worker/src/sdk/auth/auth.ts index f8796f0bed..3f24de440a 100644 --- a/packages/worker/src/sdk/auth/auth.ts +++ b/packages/worker/src/sdk/auth/auth.ts @@ -74,8 +74,8 @@ export const reset = async (email: string) => { */ export const resetUpdate = async (resetCode: string, password: string) => { const { userId } = await cache.passwordReset.getCode(resetCode) - let user = await userSdk.db.getUser(userId) + let user = await userSdk.db.getUser(userId) user.password = password user = await userSdk.db.save(user)