1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2025-01-09 03:13:57 +09:00
cherrypick/src/processor/http/index.ts

10 lines
269 B
TypeScript
Raw Normal View History

2018-03-31 19:55:00 +09:00
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);