Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Oct 5, 2024
1 parent 381b978 commit 7705f7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/AbuseReportService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class AbuseReportService {
public async update(
reportId: MiAbuseUserReport['id'],
params: {
moderationNote: MiAbuseUserReport['moderationNote'];
moderationNote?: MiAbuseUserReport['moderationNote'];
},
moderator: MiUser,
) {
Expand Down
2 changes: 2 additions & 0 deletions packages/backend/src/core/WebhookTestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function generateAbuseReport(override?: Partial<MiAbuseUserReport>): MiAbuseUser
comment: 'This is a dummy report for testing purposes.',
targetUserHost: null,
reporterHost: null,
resolvedAs: null,
moderationNote: 'foo',
...override,
};
}
Expand Down

0 comments on commit 7705f7d

Please sign in to comment.