summaryrefslogtreecommitdiff
path: root/src/remote
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-23 05:36:35 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-23 05:36:35 +0900
commit7c7f32d9a6597fdc7bea02da0cfd4a843fd32d22 (patch)
treea67396d881993b4240b49f288594b827ef58531c /src/remote
parentfix(package): update file-type to version 10.1.0 (#2984) (diff)
downloadsharkey-7c7f32d9a6597fdc7bea02da0cfd4a843fd32d22.tar.gz
sharkey-7c7f32d9a6597fdc7bea02da0cfd4a843fd32d22.tar.bz2
sharkey-7c7f32d9a6597fdc7bea02da0cfd4a843fd32d22.zip
Refactoring
Diffstat (limited to 'src/remote')
-rw-r--r--src/remote/activitypub/models/person.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts
index bf1df87918..a39c8d33ca 100644
--- a/src/remote/activitypub/models/person.ts
+++ b/src/remote/activitypub/models/person.ts
@@ -10,7 +10,7 @@ import { isCollectionOrOrderedCollection, isCollection, IPerson } from '../type'
import { IDriveFile } from '../../../models/drive-file';
import Meta from '../../../models/meta';
import htmlToMFM from '../../../mfm/html-to-mfm';
-import { usersStats } from '../../../services/stats';
+import usersChart from '../../../chart/users';
import { URL } from 'url';
import { resolveNote } from './note';
@@ -180,7 +180,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<IU
}
}, { upsert: true });
- usersStats.update(user, true);
+ usersChart.update(user, true);
//#endregion
//#region アイコンとヘッダー画像をフェッチ