mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 06:35:34 +02:00
Fix job processor interfaces
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import User from '../../models/user';
|
||||
import act from '../../remote/activitypub/act';
|
||||
|
||||
export default ({ data }, done) => User.findOne({ _id: data.actor })
|
||||
.then(actor => act(actor, data.outbox, false))
|
||||
.then(() => done(), done);
|
||||
export default ({ data }) => User.findOne({ _id: data.actor })
|
||||
.then(actor => act(actor, data.outbox, false));
|
||||
|
||||
Reference in New Issue
Block a user