From d90ad34924a0641a08c67b1001d1567008d50ef3 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 } });