From ee0cbab4e4bd750e55e03c5db596fbd093a110de Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Jan 2020 06:09:36 +0900 Subject: [PATCH] Fix bug --- src/server/api/endpoints/admin/emoji/list.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/api/endpoints/admin/emoji/list.ts b/src/server/api/endpoints/admin/emoji/list.ts index d525a659c0..5a6fffc3b8 100644 --- a/src/server/api/endpoints/admin/emoji/list.ts +++ b/src/server/api/endpoints/admin/emoji/list.ts @@ -33,8 +33,6 @@ export const meta = { export default define(meta, async (ps) => { const emojis = await makePaginationQuery(Emojis.createQueryBuilder('emoji'), ps.sinceId, ps.untilId) .andWhere(`emoji.host IS NULL`) - .orderBy('emoji.category', 'ASC') - .orderBy('emoji.name', 'ASC') .take(ps.limit!) .getMany();