mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-06 02:19:05 +00:00
Feat: create user page, add user bio and avatar
This commit is contained in:
@@ -20,6 +20,7 @@ const getBeerPosts = async (
|
||||
const pageSize = parseInt(req.query.page_size, 10);
|
||||
|
||||
const beerPosts = await getAllBeerPosts({ pageNum, pageSize });
|
||||
|
||||
const beerPostCount = await DBClient.instance.beerPost.count();
|
||||
|
||||
res.setHeader('X-Total-Count', beerPostCount);
|
||||
|
||||
Reference in New Issue
Block a user