mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-16 04:31:28 +00:00
Include Creator to avoid nullreference
This commit is contained in:
parent
ac8e1dc303
commit
7e294b8c21
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
(q => q.User)
|
(q => q.User)
|
||||||
.Include(q => q.Slot)
|
.Include(q => q.Slot)
|
||||||
.Include(q => q.Slot.Location)
|
.Include(q => q.Slot.Location)
|
||||||
|
.Include(q => q.Slot.Creator)
|
||||||
.Where(q => q.User.Username == username)
|
.Where(q => q.User.Username == username)
|
||||||
.AsEnumerable();
|
.AsEnumerable();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue