diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 03:58:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 03:58:11 +0900 |
| commit | a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8 (patch) | |
| tree | bf3c3dacd69737bf79eea0311fed1ddc504b15a5 /src/renderers | |
| parent | Post --> Note (diff) | |
| download | sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.gz sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.bz2 sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.zip | |
Some bug fixes
Diffstat (limited to 'src/renderers')
| -rw-r--r-- | src/renderers/get-user-summary.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderers/get-user-summary.ts b/src/renderers/get-user-summary.ts index 52309954d3..1bd9a7fb47 100644 --- a/src/renderers/get-user-summary.ts +++ b/src/renderers/get-user-summary.ts @@ -11,8 +11,7 @@ export default function(user: IUser): string { `${user.notesCount}投稿、${user.followingCount}フォロー、${user.followersCount}フォロワー\n`; if (isLocalUser(user)) { - const account = user.account; - string += `場所: ${account.profile.location}、誕生日: ${account.profile.birthday}\n`; + string += `場所: ${user.profile.location}、誕生日: ${user.profile.birthday}\n`; } return string + `「${user.description}」`; |