mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
[backend] Don't join avatar and banner on i/notifications
This was an oversight on the recent database refactor and is no longer required
This commit is contained in:
parent
a8da3e94e4
commit
0cb6f578ad
1 changed files with 0 additions and 2 deletions
|
@ -97,8 +97,6 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
.andWhere("notification.notifieeId = :meId", { meId: user.id })
|
||||
.leftJoinAndSelect("notification.notifier", "notifier")
|
||||
.leftJoinAndSelect("notification.note", "note")
|
||||
.leftJoinAndSelect("notifier.avatar", "notifierAvatar")
|
||||
.leftJoinAndSelect("notifier.banner", "notifierBanner")
|
||||
.leftJoinAndSelect("note.user", "user")
|
||||
.leftJoinAndSelect("note.reply", "reply")
|
||||
.leftJoinAndSelect("note.renote", "renote")
|
||||
|
|
Loading…
Reference in a new issue