fixed total thingy in queue lsit

This commit is contained in:
hydronePVP45 2021-11-15 20:11:15 +01:00 committed by GitHub
commit a01a78563f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}
}