summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-02-15 23:22:06 -0500
committerHazelnoot <acomputerdog@gmail.com>2025-02-20 09:58:04 -0500
commit0e2e77e34607796bd4f7541562303b22c4fb5025 (patch)
tree53472673405fac2b92e8a7f9c07ec132c61a5349
parentadd "reject quotes" toggle at user and instance level (diff)
downloadsharkey-0e2e77e34607796bd4f7541562303b22c4fb5025.tar.gz
sharkey-0e2e77e34607796bd4f7541562303b22c4fb5025.tar.bz2
sharkey-0e2e77e34607796bd4f7541562303b22c4fb5025.zip
fix type errors in WebhookTestService.ts
-rw-r--r--packages/backend/src/core/WebhookTestService.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts
index 93693216cb..2e50f4472f 100644
--- a/packages/backend/src/core/WebhookTestService.ts
+++ b/packages/backend/src/core/WebhookTestService.ts
@@ -100,6 +100,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser {
noindex: false,
enableRss: true,
mandatoryCW: null,
+ rejectQuotes: false,
...override,
};
}
@@ -143,6 +144,7 @@ function generateDummyNote(override?: Partial<MiNote>): MiNote {
renoteUserId: null,
renoteUserHost: null,
updatedAt: null,
+ processErrors: [],
...override,
};
}