diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:20:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:20:46 +0900 |
| commit | 7d4d9dbaa61f2eaaa66eac2d9ac282c41044e2c7 (patch) | |
| tree | a1f6799795efda49c0ba0985405474c2bd32b629 /src/api | |
| parent | wip (diff) | |
| download | sharkey-7d4d9dbaa61f2eaaa66eac2d9ac282c41044e2c7.tar.gz sharkey-7d4d9dbaa61f2eaaa66eac2d9ac282c41044e2c7.tar.bz2 sharkey-7d4d9dbaa61f2eaaa66eac2d9ac282c41044e2c7.zip | |
wip
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/models/user.ts | 2 | ||||
| -rw-r--r-- | src/api/private/signup.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/api/models/user.ts b/src/api/models/user.ts index e73c95faf2..9aa7c4efae 100644 --- a/src/api/models/user.ts +++ b/src/api/models/user.ts @@ -46,7 +46,7 @@ export type ILocalAccount = { password: string; token: string; twitter: { - access_token: string; + accessToken: string; access_token_secret: string; user_id: string; screen_name: string; diff --git a/src/api/private/signup.ts b/src/api/private/signup.ts index 96e0495709..29d75b62f9 100644 --- a/src/api/private/signup.ts +++ b/src/api/private/signup.ts @@ -115,8 +115,6 @@ export default async (req: express.Request, res: express.Response) => { following_count: 0, name: name, posts_count: 0, - likes_count: 0, - liked_count: 0, drive_capacity: 1073741824, // 1GB username: username, username_lower: username.toLowerCase(), |