diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-20 22:33:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-20 22:33:13 +0900 |
| commit | a48e503caa7f07df26c4188bdea4a9131a9814e5 (patch) | |
| tree | d4605319b8cfdd5857ddfa68f82a9065ae45930b /src/server/api/endpoints/users.ts | |
| parent | ハイライトでミュートしているユーザーの投稿が含まれ... (diff) | |
| download | sharkey-a48e503caa7f07df26c4188bdea4a9131a9814e5.tar.gz sharkey-a48e503caa7f07df26c4188bdea4a9131a9814e5.tar.bz2 sharkey-a48e503caa7f07df26c4188bdea4a9131a9814e5.zip | |
Fix indent
Diffstat (limited to 'src/server/api/endpoints/users.ts')
| -rw-r--r-- | src/server/api/endpoints/users.ts | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/server/api/endpoints/users.ts b/src/server/api/endpoints/users.ts index c31aeaf037..324375ae2d 100644 --- a/src/server/api/endpoints/users.ts +++ b/src/server/api/endpoints/users.ts @@ -54,25 +54,25 @@ export const meta = { }; const state: any = { // < https://github.com/Microsoft/TypeScript/issues/1863 - 'admin': { isAdmin: true }, - 'moderator': { isModerator: true }, - 'adminOrModerator': { - $or: [ - { isAdmin: true }, - { isModerator: true } - ] - }, - 'verified': { isVerified: true }, - 'alive': { - updatedAt: { $gt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5) } - }, - [fallback]: {} + 'admin': { isAdmin: true }, + 'moderator': { isModerator: true }, + 'adminOrModerator': { + $or: [ + { isAdmin: true }, + { isModerator: true } + ] + }, + 'verified': { isVerified: true }, + 'alive': { + updatedAt: { $gt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5) } + }, + [fallback]: {} }; const origin: any = { // < https://github.com/Microsoft/TypeScript/issues/1863 - 'local': { host: null }, - 'remote': { host: nonnull }, - [fallback]: {} + 'local': { host: null }, + 'remote': { host: nonnull }, + [fallback]: {} }; const sort: any = { // < https://github.com/Microsoft/TypeScript/issues/1863 |