summaryrefslogtreecommitdiff
path: root/src/common/remote/activitypub/act/create.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-01 21:24:25 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-01 21:24:25 +0900
commit79f87b69433cf10746580cf2a8144375dafb7e37 (patch)
tree18770012d35c875ba8ef42a673dfea1d1071d25c /src/common/remote/activitypub/act/create.ts
parentBetter variable name (diff)
downloadsharkey-79f87b69433cf10746580cf2a8144375dafb7e37.tar.gz
sharkey-79f87b69433cf10746580cf2a8144375dafb7e37.tar.bz2
sharkey-79f87b69433cf10746580cf2a8144375dafb7e37.zip
Some fixes and refactors
Diffstat (limited to 'src/common/remote/activitypub/act/create.ts')
-rw-r--r--src/common/remote/activitypub/act/create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/remote/activitypub/act/create.ts b/src/common/remote/activitypub/act/create.ts
index 6c62f7ab9e..9eb74800ea 100644
--- a/src/common/remote/activitypub/act/create.ts
+++ b/src/common/remote/activitypub/act/create.ts
@@ -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);