summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebhookTestService.ts
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-05-28 02:19:30 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-06-04 10:47:15 -0400
commitf17e4641888d82e28daaf125280a68fc13277cc9 (patch)
treef2e6cf88e6363eb22db0dadcfb68e212dfb359dc /packages/backend/src/core/WebhookTestService.ts
parentimprovements to MkAbuseReport: (diff)
downloadsharkey-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.ts6
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.',