✨ Sticker pack includes preview stickers
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user