order by id instead of date
This commit is contained in:
parent
8ff999b236
commit
da1eacfad5
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue