forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
b6889e9ac6
commit
d9a5e06b5b
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