From 1bb7b7539b73f255ef2bc081619b9ed676c9d1d9 Mon Sep 17 00:00:00 2001 From: Anna Hughes Date: Thu, 20 Jun 2024 18:27:58 +0100 Subject: [PATCH] fix: update user service profiles (#492) --- src/user/user.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/user.service.ts b/src/user/user.service.ts index 1fd4a9d9..cc0b5b44 100644 --- a/src/user/user.service.ts +++ b/src/user/user.service.ts @@ -206,7 +206,7 @@ export class UserService { const isCrispBaseUpdateRequired = user.signUpLanguage !== updateUserDto.signUpLanguage && user.name !== updateUserDto.name; - updateServiceUserProfilesUser(user, isCrispBaseUpdateRequired, user.email); + updateServiceUserProfilesUser(newUserData, isCrispBaseUpdateRequired, user.email); return updatedUser; }