Fix bug
This commit is contained in:
parent
b6889e9ac6
commit
d9a5e06b5b
|
@ -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;
|
return logs;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue