Compare commits
No commits in common. "1b54a6d6a68a2e3b80b1acebbc10ea6f98635294" and "1dc37d328240804440015facbca4cfe6c7274a4d" have entirely different histories.
1b54a6d6a6
...
1dc37d3282
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ public class ApplicationUserService(ApplicationDbContext context)
|
||||||
{
|
{
|
||||||
var appUserId = identity.FindFirst(ClaimTypes.NameIdentifier)?.Value;
|
var appUserId = identity.FindFirst(ClaimTypes.NameIdentifier)?.Value;
|
||||||
var profile = await _context.UserProfiles
|
var profile = await _context.UserProfiles
|
||||||
.FirstOrDefaultAsync(x => x.ApplicationUserId.ToString() == appUserId && !x.IsDeleted)
|
.FirstOrDefaultAsync(x => x.ApplicationUserId.ToString() == appUserId)
|
||||||
?? throw new NotFoundException();
|
?? throw new NotFoundException();
|
||||||
|
|
||||||
return profile;
|
return profile;
|
||||||
|
|
Loading…
Reference in a new issue