This commit is contained in:
syuilo 2019-04-08 02:27:06 +09:00
parent b6889e9ac6
commit d9a5e06b5b
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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;
});