diff --git a/backend/src/graphql/resolvers/ContactFormResolver.ts b/backend/src/graphql/resolvers/ContactFormResolver.ts index 70b131bc0b..6fcdd3d6db 100644 --- a/backend/src/graphql/resolvers/ContactFormResolver.ts +++ b/backend/src/graphql/resolvers/ContactFormResolver.ts @@ -7,7 +7,9 @@ import { EVENT_CONTACTFORM_SEND } from '#src/event/Events' @Resolver() export class ContactFormResolver { @Mutation(() => Boolean) - createContactForm(@Arg('contactFormData') contactFormData: ContactFormInput): boolean { + async createContactForm( + @Arg('contactFormData') contactFormData: ContactFormInput, + ): Promise { void sendContactEmails(contactFormData) await EVENT_CONTACTFORM_SEND(contactFormData.email) return true