mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-26 11:19:07 +00:00
[skip ci] Fix NewestSlots warning
This commit is contained in:
parent
12177da473
commit
92c888afaf
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers {
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("slots")]
|
[HttpGet("slots")]
|
||||||
public async Task<IActionResult> NewestSlots([FromQuery] int pageStart, [FromQuery] int pageSize) {
|
public IActionResult NewestSlots([FromQuery] int pageStart, [FromQuery] int pageSize) {
|
||||||
IQueryable<Slot> slots = this.database.Slots
|
IQueryable<Slot> slots = this.database.Slots
|
||||||
.Include(s => s.Creator)
|
.Include(s => s.Creator)
|
||||||
.Include(s => s.Location)
|
.Include(s => s.Location)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue