Improve performance

This commit is contained in:
syuilo 2018-11-03 15:21:07 +09:00
parent e18b23db50
commit c23a9abeb1

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
}
});
};