Fix job processor interfaces
This commit is contained in:
parent
45fb451111
commit
63906af5ab
4 changed files with 19 additions and 25 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue