From 202cb38c40cd07137290377fc9274d67c289efba Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Oct 2021 01:15:14 +0900 Subject: [PATCH] lint --- .../api/endpoints/users/search-by-username-and-host.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/api/endpoints/users/search-by-username-and-host.ts b/src/server/api/endpoints/users/search-by-username-and-host.ts index f03a55449..1ec5e1a74 100644 --- a/src/server/api/endpoints/users/search-by-username-and-host.ts +++ b/src/server/api/endpoints/users/search-by-username-and-host.ts @@ -91,14 +91,14 @@ export default define(meta, async (ps, me) => { .andWhere('user.isSuspended = FALSE') .andWhere('user.usernameLower LIKE :username', { username: ps.username.toLowerCase() + '%' }) .andWhere('user.updatedAt IS NOT NULL'); - + otherQuery.setParameters(followingQuery.getParameters()); - + const otherUsers = await otherQuery .orderBy('user.updatedAt', 'DESC') .take(ps.limit! - users.length) .getMany(); - + users = users.concat(otherUsers); } } else {