diff --git a/api/jsonApi.js b/api/jsonApi.js index 4930c17..fbcdeb8 100644 --- a/api/jsonApi.js +++ b/api/jsonApi.js @@ -60,7 +60,10 @@ router.get('/most-recent-drop', async (req, res) => { try { const mostRecentDrop = await DropHistory.findOne({ - order: [['createdAt', 'DESC']] + order: [['createdAt', 'DESC']], + where: { + type: 0 + } }); if (!mostRecentDrop) {