1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-20 13:39:24 -05:00
This commit is contained in:
syuilo 2018-10-03 22:54:10 +09:00
parent 06a7c2e138
commit 30c0f98691
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -294,7 +294,7 @@ export const pack = async (
}
// Populate files
_note.files = Promise.all(_note.fileIds.map((fileId: mongo.ObjectID) =>
_note.files = Promise.all((_note.fileIds || []).map((fileId: mongo.ObjectID) =>
packFile(fileId)
));