mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Improve performance
This commit is contained in:
parent
e18b23db50
commit
c23a9abeb1
@ -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…
Reference in New Issue
Block a user