fix relation typo in abuse-user-reports

This commit is contained in:
Hazelnoot 2025-05-28 02:34:14 -04:00
parent 067c5d4500
commit 16891f8224

View file

@ -125,9 +125,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.leftJoinAndSelect('report.targetUserProfile', 'targetUserProfile') .leftJoinAndSelect('report.targetUserProfile', 'targetUserProfile')
.leftJoinAndSelect('report.targetUserInstance', 'targetUserInstance') .leftJoinAndSelect('report.targetUserInstance', 'targetUserInstance')
.leftJoinAndSelect('report.reporter', 'reporter') .leftJoinAndSelect('report.reporter', 'reporter')
.leftJoinAndSelect('report.reporterUserProfile', 'reporterUserProfile') .leftJoinAndSelect('report.reporterProfile', 'reporterProfile')
.leftJoinAndSelect('report.assignee', 'assignee') .leftJoinAndSelect('report.assignee', 'assignee')
.leftJoinAndSelect('report.assigneeUserProfile', 'assigneeUserProfile') .leftJoinAndSelect('report.assigneeProfile', 'assigneeProfile')
; ;
switch (ps.state) { switch (ps.state) {