1
0

populate userProfile in more places

This commit is contained in:
Hazelnoot
2025-06-06 02:48:49 -04:00
parent bd8cd8c4e4
commit c9884a74fc
2 changed files with 21 additions and 6 deletions
@@ -589,9 +589,24 @@ export class NoteEntityService implements OnModuleInit {
id: In(targetNotesToFetch),
},
relations: {
user: true,
reply: true,
renote: true,
user: {
userProfile: true,
},
reply: {
user: {
userProfile: true,
},
},
renote: {
user: {
userProfile: true,
},
reply: {
user: {
userProfile: true,
},
},
},
channel: true,
},
});