Skip to content
Snippets Groups Projects
Unverified Commit afc9caf7 authored by syuilo's avatar syuilo
Browse files

Improve performance

parent 67697a7a
No related branches found
Tags 8.21.0
No related merge requests found
......@@ -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
}
});
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment