mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-02 14:06:43 -06:00
13 lines
370 B
TypeScript
13 lines
370 B
TypeScript
import follow from './follow';
|
|
import performActivityPub from './perform-activitypub';
|
|
import processInbox from './process-inbox';
|
|
import reportGitHubFailure from './report-github-failure';
|
|
|
|
const handlers = {
|
|
follow,
|
|
performActivityPub,
|
|
processInbox,
|
|
reportGitHubFailure,
|
|
};
|
|
|
|
export default (job, done) => handlers[job.data.type](job).then(() => done(), done);
|