diff --git a/src/remote/activitypub/objects/person.ts b/src/remote/activitypub/objects/person.ts index a78538c4bd..f7ec064cdb 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 } });