Fixed a bug where updating the name of a person wasn't updating their normalized name, potentially breaking the flow.

This commit is contained in:
Joseph Milazzo 2025-06-08 10:58:01 -05:00
parent 57461374ac
commit 60cd000af5

View file

@ -117,6 +117,7 @@ public class PersonController : BaseApiController
person.Name = dto.Name?.Trim(); person.Name = dto.Name?.Trim();
person.NormalizedName = person.Name.ToNormalized();
person.Description = dto.Description ?? string.Empty; person.Description = dto.Description ?? string.Empty;
person.CoverImageLocked = dto.CoverImageLocked; person.CoverImageLocked = dto.CoverImageLocked;