Merge pull request #344 from automatisch/chore/adjust-connections-order

chore: Adjust connections order by created date descending
This commit is contained in:
Ömer Faruk Aydın
2022-07-16 23:40:50 +03:00
committed by GitHub

View File

@@ -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,