fix admin create contribution

This commit is contained in:
Moriz Wahl 2023-03-28 12:57:34 +02:00
parent f5f50e9353
commit a81b364fef
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ describe('CreationFormular', () => {
it('sends ... to apollo', () => {
expect(adminCreateContributionMock).toBeCalledWith({
email: 'benjamin@bluemchen.de',
creationDate: getCreationDate(2),
amount: 90,
memo: 'Test create coins',

View File

@ -140,6 +140,7 @@ export default {
.mutate({
mutation: adminCreateContribution,
variables: {
email: this.item.email,
creationDate: this.selected.date,
amount: Number(this.value),
memo: this.text,