diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-03-28 17:05:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-28 17:05:36 +0900 |
| commit | 46e530ef41bb640cfa66438e888d1ecd6f90f6bb (patch) | |
| tree | a23eefae5e437ad6adc7dfe190daba81138aa70b /src/api/endpoints/users/recommendation.ts | |
| parent | #1294 (diff) | |
| parent | oops (diff) | |
| download | misskey-46e530ef41bb640cfa66438e888d1ecd6f90f6bb.tar.gz misskey-46e530ef41bb640cfa66438e888d1ecd6f90f6bb.tar.bz2 misskey-46e530ef41bb640cfa66438e888d1ecd6f90f6bb.zip | |
Merge pull request #1324 from syuilo/#1288-2
snake_case を camelCase にするなどした
Diffstat (limited to 'src/api/endpoints/users/recommendation.ts')
| -rw-r--r-- | src/api/endpoints/users/recommendation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/users/recommendation.ts b/src/api/endpoints/users/recommendation.ts index 45d90f422b..c5297cdc50 100644 --- a/src/api/endpoints/users/recommendation.ts +++ b/src/api/endpoints/users/recommendation.ts @@ -32,7 +32,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => { }, $or: [ { - 'account.last_used_at': { + 'account.lastUsedAt': { $gte: new Date(Date.now() - ms('7days')) } }, { @@ -43,7 +43,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => { limit: limit, skip: offset, sort: { - followers_count: -1 + followersCount: -1 } }); |