mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-15 06:02:28 +00:00
Serialization refactor hotfixes
Fixes user heart count Fixes searches not working Fixes text/plain content not outputting
This commit is contained in:
parent
329ab66043
commit
1e8ef8c679
4 changed files with 6 additions and 4 deletions
|
@ -63,7 +63,7 @@ public class SearchController : ControllerBase
|
|||
|
||||
List<SlotBase> slots = await dbQuery.Skip(Math.Max(0, pageStart - 1))
|
||||
.Take(Math.Min(pageSize, 30))
|
||||
.Select(s => SlotBase.CreateFromEntity(s, this.GetToken()))
|
||||
.Select(s => SlotBase.CreateFromEntity(s, token))
|
||||
.ToListAsync();
|
||||
|
||||
return this.Ok(new GenericSlotResponse(keyName, slots, await dbQuery.CountAsync(), 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue