mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 17:43:09 +02:00
10 lines
269 B
TypeScript
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);
|