Some fixes and refactors
This commit is contained in:
parent
623f5b0072
commit
79f87b6943
7 changed files with 21 additions and 20 deletions
|
|
@ -2,7 +2,7 @@ import create from '../create';
|
|||
|
||||
export default (resolver, actor, activity) => {
|
||||
if ('actor' in activity && actor.account.uri !== activity.actor) {
|
||||
throw new Error;
|
||||
throw new Error();
|
||||
}
|
||||
|
||||
return create(resolver, actor, activity.object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue