0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 12:12:42 +00:00

Update fields returned for Lock and Review Tables

This commit is contained in:
G.Ambatte
2025-04-09 11:38:57 +12:00
parent f2b995660a
commit 5e7e314baa

View File

@@ -191,7 +191,9 @@ router.get('/api/locks', mw.adminOnly, asyncHandler(async (req, res)=>{
{ {
$project : { $project : {
shareId : 1, shareId : 1,
title : 1 editId : 1,
title : 1,
lock : 1
} }
} }
]; ];
@@ -271,7 +273,9 @@ router.get('/api/lock/reviews', mw.adminOnly, asyncHandler(async (req, res)=>{
{ {
$project : { $project : {
shareId : 1, shareId : 1,
title : 1 editId : 1,
title : 1,
lock : 1
} }
} }
]; ];