Removing test junk
This commit is contained in:
@ -7,7 +7,4 @@ export const APIRequest = (url:string, body?:object) => {
|
|||||||
'Accept': 'application/json'
|
'Accept': 'application/json'
|
||||||
}
|
}
|
||||||
}).then(e => e.json());
|
}).then(e => e.json());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
(globalThis as any)['APIRequest'] = APIRequest;
|
|
@ -2,7 +2,4 @@ import { APIRequest } from "./APIRequest";
|
|||||||
|
|
||||||
export const sendMail = (name:string, email:string, message:string) => APIRequest('mail/send', {
|
export const sendMail = (name:string, email:string, message:string) => APIRequest('mail/send', {
|
||||||
name, email, message
|
name, email, message
|
||||||
}).then(e => e.body);
|
}).then(e => e.body);
|
||||||
|
|
||||||
///@ts-ginore
|
|
||||||
(globalThis as any)['sendMail' as any] = sendMail as any;
|
|
Reference in New Issue
Block a user