mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
Fix bug
This commit is contained in:
parent
40f482cc6b
commit
c44b26f296
1 changed files with 1 additions and 1 deletions
|
@ -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 } });
|
||||
|
|
Loading…
Reference in a new issue