mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 00:38:38 +00:00
Fix /s/user/id endpoint
Bruh.
This commit is contained in:
parent
4adf88ec6b
commit
5d9987024a
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers {
|
||||||
|
|
||||||
return this.Ok(LbpSerializer.TaggedStringElement("slots", response, "total", 1));
|
return this.Ok(LbpSerializer.TaggedStringElement("slots", response, "total", 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpGet("s/user/{id:int}")]
|
||||||
public async Task<IActionResult> SUser(int id) {
|
public async Task<IActionResult> SUser(int id) {
|
||||||
Slot slot = await this.database.Slots
|
Slot slot = await this.database.Slots
|
||||||
.Include(s => s.Creator)
|
.Include(s => s.Creator)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue