Sticker pack includes preview stickers

This commit is contained in:
2025-08-22 23:02:16 +08:00
parent 50e888b075
commit fb7e52d6f3

View File

@@ -75,6 +75,7 @@ public class StickerController(
var packs = await queryable var packs = await queryable
.Skip(offset) .Skip(offset)
.Take(take) .Take(take)
.Include(e => e.Stickers.OrderByDescending(s => s.CreatedAt).Take(8))
.ToListAsync(); .ToListAsync();
Response.Headers["X-Total"] = totalCount.ToString(); Response.Headers["X-Total"] = totalCount.ToString();