mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-25 06:16:58 +00:00
9 lines
269 B
TypeScript
9 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);
|