Improve performance
This commit is contained in:
parent
67697a7aa6
commit
afc9caf7bf
@ -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
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user