fix newly introduced errors

This commit is contained in:
Ulf Gebhardt 2023-03-03 22:49:22 +01:00
parent 827c829306
commit 19adc53ed7
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ export class Contribution {
@Field(() => Date, { nullable: true })
deletedAt: Date | null
@Field(() => Number, { nullable: true })
@Field(() => Int, { nullable: true })
deletedBy: number | null
@Field(() => Date)

View File

@ -825,7 +825,7 @@ describe('ContributionResolver', () => {
)
})
it('calls sendContributionDeniedEmail', async () => {
it('calls sendContributionDeniedEmail', () => {
expect(sendContributionDeniedEmail).toBeCalledWith({
firstName: 'Bibi',
lastName: 'Bloxberg',
@ -2391,7 +2391,7 @@ describe('ContributionResolver', () => {
)
})
it('calls sendContributionDeletedEmail', async () => {
it('calls sendContributionDeletedEmail', () => {
expect(sendContributionDeletedEmail).toBeCalledWith({
firstName: 'Peter',
lastName: 'Lustig',