diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-05-28 02:19:30 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-06-04 10:47:15 -0400 |
| commit | f17e4641888d82e28daaf125280a68fc13277cc9 (patch) | |
| tree | f2e6cf88e6363eb22db0dadcfb68e212dfb359dc /packages/backend/src/core/WebhookTestService.ts | |
| parent | improvements to MkAbuseReport: (diff) | |
| download | sharkey-f17e4641888d82e28daaf125280a68fc13277cc9.tar.gz sharkey-f17e4641888d82e28daaf125280a68fc13277cc9.tar.bz2 sharkey-f17e4641888d82e28daaf125280a68fc13277cc9.zip | |
fix WebhookTestService again
Diffstat (limited to 'packages/backend/src/core/WebhookTestService.ts')
| -rw-r--r-- | packages/backend/src/core/WebhookTestService.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts index 8c1508df24..7c85a32427 100644 --- a/packages/backend/src/core/WebhookTestService.ts +++ b/packages/backend/src/core/WebhookTestService.ts @@ -77,6 +77,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser { mandatoryCW: null, rejectQuotes: false, allowUnsignedFetch: 'staff', + userProfile: null, attributionDomains: [], ...override, }; @@ -363,10 +364,15 @@ export class WebhookTestService { id: 'dummy-abuse-report1', targetUserId: 'dummy-target-user', targetUser: null, + targetUserProfile: null, + targetUserInstance: null, reporterId: 'dummy-reporter-user', reporter: null, + reporterProfile: null, + reporterInstance: null, assigneeId: null, assignee: null, + assigneeProfile: null, resolved: false, forwarded: false, comment: 'This is a dummy report for testing purposes.', |