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/i.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/i.ts')
| -rw-r--r-- | src/api/endpoints/i.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/i.ts b/src/api/endpoints/i.ts index 32b0382faf..f5e92b4ded 100644 --- a/src/api/endpoints/i.ts +++ b/src/api/endpoints/i.ts @@ -22,7 +22,7 @@ module.exports = (params, user, _, isSecure) => new Promise(async (res, rej) => // Update lastUsedAt User.update({ _id: user._id }, { $set: { - 'account.last_used_at': new Date() + 'account.lastUsedAt': new Date() } }); }); |