0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 06:32:37 +00:00

fix data reuse and add field to projection

This commit is contained in:
Charlie Humphreys
2022-06-06 14:59:40 +00:00
parent bade09c24c
commit 92b3f8252e
2 changed files with 4 additions and 3 deletions

View File

@@ -165,6 +165,7 @@ app.get('/user/:username', async (req, res, next)=>{
const ownAccount = req.account && (req.account.username == req.params.username);
const fields = [
'googleId',
'title',
'pageCount',
'description',