mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01: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
@ -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 New Issue
Block a user