From 5d9987024ac274e823152900415388745d6502fd Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 27 Oct 2021 23:17:39 -0400 Subject: [PATCH] Fix /s/user/id endpoint Bruh. --- ProjectLighthouse/Controllers/SlotsController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/SlotsController.cs b/ProjectLighthouse/Controllers/SlotsController.cs index d5c0f818..4e8b89fd 100644 --- a/ProjectLighthouse/Controllers/SlotsController.cs +++ b/ProjectLighthouse/Controllers/SlotsController.cs @@ -26,7 +26,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers { return this.Ok(LbpSerializer.TaggedStringElement("slots", response, "total", 1)); } - + + [HttpGet("s/user/{id:int}")] public async Task SUser(int id) { Slot slot = await this.database.Slots .Include(s => s.Creator)