Fix bug
This commit is contained in:
parent
aaf201f69f
commit
66cbb95386
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default define(meta, async (ps) => {
|
|||
}
|
||||
}
|
||||
|
||||
const logs = await query.take(ps.limit).getMany();
|
||||
const logs = await query.orderBy('log.createdAt', 'DESC').take(ps.limit).getMany();
|
||||
|
||||
return logs;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue