mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Improve performance
This commit is contained in:
parent
e18b23db50
commit
c23a9abeb1
1 changed files with 5 additions and 1 deletions
|
@ -19,5 +19,9 @@ export const packEmojis = async (
|
||||||
host: string,
|
host: string,
|
||||||
// MeiTODO: filter
|
// MeiTODO: filter
|
||||||
) => {
|
) => {
|
||||||
return await Emoji.find({ host });
|
return await Emoji.find({ host }, {
|
||||||
|
fields: {
|
||||||
|
_id: false
|
||||||
|
}
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue