From c44b26f2963418701af8641630386ee2e6a65dcf Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Apr 2018 05:44:35 +0900 Subject: [PATCH] Fix bug --- src/remote/activitypub/objects/person.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/activitypub/objects/person.ts b/src/remote/activitypub/objects/person.ts index a78538c4b..f7ec064cd 100644 --- a/src/remote/activitypub/objects/person.ts +++ b/src/remote/activitypub/objects/person.ts @@ -108,7 +108,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise img == null ? Promise.resolve(null) - : resolveImage(user, img.url) + : resolveImage(user, img) ))).map(file => file != null ? file._id : null); User.update({ _id: user._id }, { $set: { avatarId, bannerId } });