mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-23 20:43:38 +00:00
perf(server): Reduce database query
This commit is contained in:
@@ -112,5 +112,5 @@ export default define(meta, async (ps, user) => {
|
||||
readNotification(user.id, notifications.map(x => x.id));
|
||||
}
|
||||
|
||||
return await Notifications.packMany(notifications);
|
||||
return await Notifications.packMany(notifications, user.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user