chore: Adjust connections order by created date descending
This commit is contained in:
@@ -13,7 +13,8 @@ const getApp = async (_parent: unknown, params: Params, context: Context) => {
|
|||||||
.$relatedQuery('connections')
|
.$relatedQuery('connections')
|
||||||
.where({
|
.where({
|
||||||
key: params.key,
|
key: params.key,
|
||||||
});
|
})
|
||||||
|
.orderBy('created_at', 'desc');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...app,
|
...app,
|
||||||
|
Reference in New Issue
Block a user