summaryrefslogtreecommitdiff
path: root/src/queue/processors/http/index.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-05 01:07:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-05 01:07:07 +0900
commitfba46b4c7f5751cd31463e922edb19f5652ca408 (patch)
treefb1b5849c90090389ac0777d5a994e9653b8f7c7 /src/queue/processors/http/index.ts
parentwip (diff)
downloadmisskey-fba46b4c7f5751cd31463e922edb19f5652ca408.tar.gz
misskey-fba46b4c7f5751cd31463e922edb19f5652ca408.tar.bz2
misskey-fba46b4c7f5751cd31463e922edb19f5652ca408.zip
wip
Diffstat (limited to 'src/queue/processors/http/index.ts')
-rw-r--r--src/queue/processors/http/index.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/queue/processors/http/index.ts b/src/queue/processors/http/index.ts
index 8f9aa717c3..06c6b1d1aa 100644
--- a/src/queue/processors/http/index.ts
+++ b/src/queue/processors/http/index.ts
@@ -1,17 +1,11 @@
-import deliverPost from './deliver-post';
-import follow from './follow';
-import performActivityPub from './perform-activitypub';
+import deliver from './deliver';
import processInbox from './process-inbox';
import reportGitHubFailure from './report-github-failure';
-import unfollow from './unfollow';
const handlers = {
- deliverPost,
- follow,
- performActivityPub,
+ deliver,
processInbox,
reportGitHubFailure,
- unfollow
};
export default (job, done) => handlers[job.data.type](job).then(() => done(), done);