This commit is contained in:
syuilo 2020-01-30 06:09:36 +09:00
parent c44e8e6bf1
commit ee0cbab4e4

View file

@ -33,8 +33,6 @@ export const meta = {
export default define(meta, async (ps) => { export default define(meta, async (ps) => {
const emojis = await makePaginationQuery(Emojis.createQueryBuilder('emoji'), ps.sinceId, ps.untilId) const emojis = await makePaginationQuery(Emojis.createQueryBuilder('emoji'), ps.sinceId, ps.untilId)
.andWhere(`emoji.host IS NULL`) .andWhere(`emoji.host IS NULL`)
.orderBy('emoji.category', 'ASC')
.orderBy('emoji.name', 'ASC')
.take(ps.limit!) .take(ps.limit!)
.getMany(); .getMany();