diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-21 15:08:07 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-21 15:08:07 +0900 |
| commit | 6b0d48423d249b386d2428b46a14dea76bf231e9 (patch) | |
| tree | 897a457276ed744938ec132ab1ad9d086267f436 /src/services/note/create.ts | |
| parent | Refactor (diff) | |
| download | sharkey-6b0d48423d249b386d2428b46a14dea76bf231e9.tar.gz sharkey-6b0d48423d249b386d2428b46a14dea76bf231e9.tar.bz2 sharkey-6b0d48423d249b386d2428b46a14dea76bf231e9.zip | |
Refactor
Diffstat (limited to 'src/services/note/create.ts')
| -rw-r--r-- | src/services/note/create.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts index a6ccc6cec0..298c499d22 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -23,7 +23,7 @@ import registerHashtag from '../register-hashtag'; import isQuote from '../../misc/is-quote'; import { TextElementMention } from '../../mfm/parse/elements/mention'; import { TextElementHashtag } from '../../mfm/parse/elements/hashtag'; -import { notesChart } from '../stats'; +import { notesStats } from '../stats'; import { erase, unique } from '../../prelude/array'; import insertNoteUnread from './unread'; @@ -165,7 +165,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise< } // 統計を更新 - notesChart.update(note, true); + notesStats.update(note, true); // ハッシュタグ登録 tags.map(tag => registerHashtag(user, tag)); |