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:
parent
57461374ac
commit
60cd000af5
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue