mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 17:28:39 +00:00
ditto
This commit is contained in:
parent
d9f72681b9
commit
dc6fe23fc5
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
|
|
||||||
GameVersion gameVersion = token.GameVersion;
|
GameVersion gameVersion = token.GameVersion;
|
||||||
|
|
||||||
IEnumerable<QueuedLevel> queuedLevels = new Database().QueuedLevels.Include(q => q.User)
|
IEnumerable<QueuedLevel> queuedLevels = this.database.QueuedLevels.Include(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)
|
.Include(q => q.Slot.Creator)
|
||||||
|
@ -95,7 +95,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
|
|
||||||
GameVersion gameVersion = token.GameVersion;
|
GameVersion gameVersion = token.GameVersion;
|
||||||
|
|
||||||
IEnumerable<HeartedLevel> heartedLevels = new Database().HeartedLevels.Include(q => q.User)
|
IEnumerable<HeartedLevel> heartedLevels = this.database.HeartedLevels.Include(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)
|
.Include(q => q.Slot.Creator)
|
||||||
|
@ -154,7 +154,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
[HttpGet("favouriteUsers/{username}")]
|
[HttpGet("favouriteUsers/{username}")]
|
||||||
public IActionResult GetFavouriteUsers(string username)
|
public IActionResult GetFavouriteUsers(string username)
|
||||||
{
|
{
|
||||||
IEnumerable<HeartedProfile> heartedProfiles = new Database().HeartedProfiles.Include
|
IEnumerable<HeartedProfile> heartedProfiles = this.database.HeartedProfiles.Include
|
||||||
(q => q.User)
|
(q => q.User)
|
||||||
.Include(q => q.HeartedUser)
|
.Include(q => q.HeartedUser)
|
||||||
.Include(q => q.HeartedUser.Location)
|
.Include(q => q.HeartedUser.Location)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue