From 5a9d9dc41d521f3e8cc0da0d8235c00f557d7a6b Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Feb 2019 22:33:22 +0900 Subject: [PATCH] Fix indent --- src/server/api/endpoints/users.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/api/endpoints/users.ts b/src/server/api/endpoints/users.ts index 324375ae2..8e83dca35 100644 --- a/src/server/api/endpoints/users.ts +++ b/src/server/api/endpoints/users.ts @@ -88,11 +88,11 @@ const sort: any = { // < https://github.com/Microsoft/TypeScript/issues/1863 export default define(meta, (ps, me) => new Promise(async (res, rej) => { const users = await User .find({ - $and: [ - state[ps.state] || state[fallback], - origin[ps.origin] || origin[fallback] - ] - }, { + $and: [ + state[ps.state] || state[fallback], + origin[ps.origin] || origin[fallback] + ] + }, { limit: ps.limit, sort: sort[ps.sort] || sort[fallback], skip: ps.offset