forked from Sarah/Lieb-Website
fixed sign up error
This commit is contained in:
parent
7394d120e1
commit
9b8e85e871
2 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ namespace Lieb.Data
|
|||
using var context = _contextFactory.CreateDbContext();
|
||||
LiebUser user = context.LiebUsers
|
||||
.Include(u => u.GuildWars2Accounts)
|
||||
.FirstOrDefault(u => u.Id == userId, new LiebUser());
|
||||
.FirstOrDefault(u => u.Id == userId);
|
||||
|
||||
if(user == null) return new GuildWars2Account();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue