From 235fe67d770f83131c9ec10b99012319440db690 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 15 May 2022 16:36:58 +0200 Subject: chore: add Search page --- src/services/graphql/contact.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/services/graphql/contact.ts') diff --git a/src/services/graphql/contact.ts b/src/services/graphql/contact.ts index fca718f..00c6ca2 100644 --- a/src/services/graphql/contact.ts +++ b/src/services/graphql/contact.ts @@ -1,4 +1,4 @@ -import { fetchAPI, getAPIUrl, sendMailVars } from './api'; +import { fetchAPI, getAPIUrl, SendMailVars } from './api'; import { sendMailMutation } from './contact.mutation'; export type SentEmail = { @@ -15,7 +15,7 @@ export type SentEmail = { * @param {sendMailVars} data - The mail data. * @returns {Promise} The mutation response. */ -export const sendMail = async (data: sendMailVars): Promise => { +export const sendMail = async (data: SendMailVars): Promise => { const response = await fetchAPI({ api: getAPIUrl(), query: sendMailMutation, -- cgit v1.2.3