fix WebhookTestService.ts

This commit is contained in:
Hazelnoot 2024-12-12 08:09:01 -05:00
parent d95ec3de5f
commit 34c5a3a3b6

View file

@ -85,6 +85,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser {
approved: true,
signupReason: null,
noindex: false,
enableRss: true,
...override,
};
}
@ -201,6 +202,7 @@ function toPackedUserLite(user: MiUser, override?: Packed<'UserLite'>): Packed<'
isAdmin: false,
isSystem: false,
isSilenced: user.isSilenced,
enableRss: true,
...override,
};
}