diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-12 13:12:49 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-12 13:12:49 +0900 |
| commit | 5bc30c549316eed4c0c22c3b1bacf4a4f1f6e240 (patch) | |
| tree | 531f8d7cb42c25bd82456cf647e222f2078601a3 /src/queue | |
| parent | シェアページを統合 (diff) | |
| download | sharkey-5bc30c549316eed4c0c22c3b1bacf4a4f1f6e240.tar.gz sharkey-5bc30c549316eed4c0c22c3b1bacf4a4f1f6e240.tar.bz2 sharkey-5bc30c549316eed4c0c22c3b1bacf4a4f1f6e240.zip | |
Add log
Diffstat (limited to 'src/queue')
| -rw-r--r-- | src/queue/processors/db/import-following.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/processors/db/import-following.ts b/src/queue/processors/db/import-following.ts index b814908cba..9b8b9f9614 100644 --- a/src/queue/processors/db/import-following.ts +++ b/src/queue/processors/db/import-following.ts @@ -45,6 +45,8 @@ export async function importFollowing(job: Bull.Job, done: any): Promise<void> { target = await resolveUser(username, host); } + logger.info(`Follow ${target._id} ...`); + follow(user, target); } |