order by id instead of date
This commit is contained in:
@ -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',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user