mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
// eslint-disable-next-line
|
|
export default {
|
|
async send(event: any, data = {}) {
|
|
/* eslint-disable no-unreachable */
|
|
return fetch(`https://new-phone-who-dis/${event}`, {
|
|
method: 'post',
|
|
headers: {
|
|
'Content-Type': 'application/json; charset=UTF-8',
|
|
},
|
|
body: JSON.stringify(data),
|
|
});
|
|
},
|
|
};
|