1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-26 04:28:28 +09:00
misskey/src/processor/http/index.ts
2018-03-31 20:33:14 +09:00

10 lines
269 B
TypeScript

import performActivityPub from './perform-activitypub';
import reportGitHubFailure from './report-github-failure';
const handlers = {
performActivityPub,
reportGitHubFailure,
};
export default (job, done) => handlers[job.data.type](job).then(() => done(), done);