1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
This commit is contained in:
syuilo 2018-04-09 05:44:35 +09:00
parent 5093f69b08
commit d90ad34924

View File

@ -108,7 +108,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs
].map(img =>
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 } });