fix type errors in WebhookTestService.ts
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user