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:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user