fix type errors in WebhookTestService.ts

This commit is contained in:
Hazelnoot 2025-02-15 23:22:06 -05:00
parent 292d3b9229
commit 0e2e77e346

View file

@ -100,6 +100,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser {
noindex: false, noindex: false,
enableRss: true, enableRss: true,
mandatoryCW: null, mandatoryCW: null,
rejectQuotes: false,
...override, ...override,
}; };
} }
@ -143,6 +144,7 @@ function generateDummyNote(override?: Partial<MiNote>): MiNote {
renoteUserId: null, renoteUserId: null,
renoteUserHost: null, renoteUserHost: null,
updatedAt: null, updatedAt: null,
processErrors: [],
...override, ...override,
}; };
} }