fix variable name

This commit is contained in:
karenvicent committed 2025-10-06 15:43:17 -04:00
1 parent d81a4ef0ee
commit 9a24090337
1 file changed
+2 -2
@@ -211,8 +211,8 @@ class UserService {
editUserById = async (userId, user) => {
await this.db.userModule.editUserById(userId, user);
};
setPasswordByUserId = async (userId, updates) => {
const updatedUser = await this.db.userModule.updateUser({ userId: userId, user: { password: updates }, file: null });
setPasswordByUserId = async (userId, password) => {
const updatedUser = await this.db.userModule.updateUser({ userId: userId, user: { password: password }, file: null });
return updatedUser;
};
}