From 8e6e70ef8af0649ec4c04bf90deded05b2c78471 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Apr 2018 21:16:37 +0900 Subject: [PATCH] Remove unnecessary brackets --- src/common/remote/activitypub/act/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/remote/activitypub/act/index.ts b/src/common/remote/activitypub/act/index.ts index 49a9aee06..f8cf2f41b 100644 --- a/src/common/remote/activitypub/act/index.ts +++ b/src/common/remote/activitypub/act/index.ts @@ -3,7 +3,7 @@ import createObject from '../create'; import Resolver from '../resolver'; export default (actor, value) => { - return (new Resolver()).resolve(value).then(resolved => Promise.all(resolved.map(async asyncResult => { + return new Resolver().resolve(value).then(resolved => Promise.all(resolved.map(async asyncResult => { const { resolver, object } = await asyncResult; const created = await (await createObject(resolver, actor, [object]))[0];