mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
Improve performance
This commit is contained in:
parent
8b90057b22
commit
5b16506e37
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ export const pack = (
|
|||
delete _user.hasUnreadNotification;
|
||||
}
|
||||
|
||||
if (meId && !meId.equals(_user.id)) {
|
||||
if (meId && !meId.equals(_user.id) && opts.detail) {
|
||||
const [following1, following2, followReq1, followReq2, toBlocking, fromBlocked, mute] = await Promise.all([
|
||||
Following.findOne({
|
||||
followerId: meId,
|
||||
|
|
Loading…
Reference in a new issue