mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 02:28:39 +00:00
fixed total thingy in queue lsit
This commit is contained in:
parent
740a7f7803
commit
a01a78563f
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
|
||||
string response = queuedLevels.Aggregate(string.Empty, (current, q) => current + q.Slot.Serialize());
|
||||
|
||||
return this.Ok(LbpSerializer.TaggedStringElement("slots", response, "total", 1));
|
||||
return this.Ok(LbpSerializer.TaggedStringElement("slots", response, "total", queuedLevels.Count()));
|
||||
}
|
||||
|
||||
[HttpPost("lolcatftw/add/user/{id:int}")]
|
||||
|
@ -217,4 +217,4 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue