order by id instead of date

This commit is contained in:
liamcottle committed 2024-03-18 22:58:51 +13:00
1 parent 8ff999b236
commit da1eacfad5
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ app.get('/api/v1/nodes', async (req, res) => {
node_id: node.node_id,
},
orderBy: {
created_at: 'desc',
id: 'desc',
},
}),
})