order by id instead of date

This commit is contained in:
liamcottle
2024-03-18 22:58:51 +13:00
parent 8ff999b236
commit da1eacfad5

View File

@ -66,7 +66,7 @@ app.get('/api/v1/nodes', async (req, res) => {
node_id: node.node_id, node_id: node.node_id,
}, },
orderBy: { orderBy: {
created_at: 'desc', id: 'desc',
}, },
}), }),
}) })