Fix implicit profiles being created when opening a reader
- Fix default profiles not being marked as such when creating an account - Mention that no implicit profiles are created for pdfs
This commit is contained in:
parent
a67e15bbb3
commit
643c499f16
5 changed files with 20 additions and 14 deletions
|
|
@ -128,6 +128,7 @@ public class ReadingProfileService(IUnitOfWork unitOfWork, ILocalizationService
|
|||
var newProfile = new AppUserReadingProfileBuilder(user.Id).Build();
|
||||
UpdateReaderProfileFields(newProfile, dto);
|
||||
unitOfWork.AppUserReadingProfileRepository.Add(newProfile);
|
||||
user.UserPreferences.ReadingProfiles.Add(newProfile);
|
||||
|
||||
await unitOfWork.CommitAsync();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue