diff --git a/packages/backend/src/core/AbuseReportService.ts b/packages/backend/src/core/AbuseReportService.ts index 05f11870a1..007c3f1bf9 100644 --- a/packages/backend/src/core/AbuseReportService.ts +++ b/packages/backend/src/core/AbuseReportService.ts @@ -98,9 +98,9 @@ export class AbuseReportService { const shouldForward = paramsMap.get(report.id)!.forward; if (shouldForward && report.targetUserHost != null) { - return targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); + targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); } else { - return targetUserMap.set(report.id, null); + targetUserMap.set(report.id, null); } } diff --git a/packages/frontend/src/pages/admin/abuses.vue b/packages/frontend/src/pages/admin/abuses.vue index fdc014a46e..c8a9ca7112 100644 --- a/packages/frontend/src/pages/admin/abuses.vue +++ b/packages/frontend/src/pages/admin/abuses.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ "通知設定" }} + {{ i18n.ts.notificationSetting }}