Closed kaptinlin closed 11 months ago
I would like to add that when I attempt to change the email from foo1@gmail.com
to bar1@gmail.com
, the update is successful. It seems that the issue is specifically with the LastName
field. This additional test indicates that the update functionality works correctly for the Email
field but not for the LastName
field. Please consider this information while investigating the issue. Thank you.
Hello @KaptinLin, I am reaching out to inquire about the current status of the mentioned issue. Is it still available for contribution? I appreciate your guidance on this matter.
i'll check soon.
it's fixed
Description
When updating a user's
Name
, I also attempt to update the correspondingnovu
subscriber. For example, if I change the user'sName
value fromfoo1
tobar1
, I expect thenovu
subscriber'sName
andLastName
to be updated accordingly.However, only the
name
in thedata
field of the subscriber gets updated successfully. TheLastName
remains the same as it was when the subscriber was created.Steps To Reproduce
Name
value fromfoo1
tobar1
.novu
subscriber:Expected behavior
The
LastName
of thenovu
subscriber should be updated to the newuser.Name
value (bar1
).Actual behavior
The
LastName
remains unchanged, while thename
in theData
field gets updated successfully.Environment
Additional context
As seen in the code, I am setting the
LastName
field of thenovu.SubscriberPayload
object to the updateduser.Name
value. However, after the update operation, theLastName
remains unchanged, while thename
in theData
field gets updated successfully.Screenshot