1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 14:58:24 +09:00

Improve performance

This commit is contained in:
syuilo 2018-11-03 15:21:07 +09:00
parent 67697a7aa6
commit afc9caf7bf
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -19,5 +19,9 @@ export const packEmojis = async (
host: string,
// MeiTODO: filter
) => {
return await Emoji.find({ host });
return await Emoji.find({ host }, {
fields: {
_id: false
}
});
};