mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:43:07 +02:00
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