Some fixes and refactors

This commit is contained in:
syuilo 2018-04-01 21:24:25 +09:00
parent 623f5b0072
commit 79f87b6943
7 changed files with 21 additions and 20 deletions

View file

@ -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);