remove hidden guestbook entries from homepage
This commit is contained in:
parent
8b66513869
commit
78cb14bbd2
|
@ -5,7 +5,8 @@ async function handler(req, res) {
|
|||
|
||||
let gb_entries = await Sequelize.Guestbook.findAll({
|
||||
limit: 5,
|
||||
order: [['id', 'DESC']]
|
||||
order: [['id', 'DESC']],
|
||||
where: { hidden: false }
|
||||
});
|
||||
|
||||
res.send(
|
||||
|
|
Loading…
Reference in New Issue