summaryrefslogtreecommitdiff
path: root/src/queue/processors/http/index.ts
diff options
context:
space:
mode:
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);