feat: sort executions by updated at

This commit is contained in:
Ali BARIN
2023-05-02 09:30:41 +00:00
parent 6c8769e598
commit 69d192d989
3 changed files with 6 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ const getExecutions = async (
},
})
.groupBy('executions.id')
.orderBy('created_at', 'desc');
.orderBy('updated_at', 'desc');
return paginate(executions, params.limit, params.offset);
};