chore: Adjust connections order by created date descending

This commit is contained in:
Faruk AYDIN
2022-07-16 21:38:35 +03:00
parent 6fa6ee7a1b
commit b69009f8b6

View File

@@ -13,7 +13,8 @@ const getApp = async (_parent: unknown, params: Params, context: Context) => {
.$relatedQuery('connections')
.where({
key: params.key,
});
})
.orderBy('created_at', 'desc');
return {
...app,