my mistake lol

This commit is contained in:
chip committed 2020-11-11 14:33:48 +01:00
1 parent f7b8517155
commit 79c29c3f7e
4 files changed
+12 -15

No files matched your search

+4 -8
View File
@@ -1,17 +1,13 @@
// eslint-disable-next-line
export default {
async send(event, data = {}) {
// /// #if DEBUG
//return new Promise(resolve => setTimeout(resolve, 100));
// /// #endif
async send(event: any, data = {}) {
/* eslint-disable no-unreachable */
return fetch(`http://new-phone-who-dis/${event}`, {
return fetch(`http://or-ambumdt/${event}`, {
method: "post",
headers: {
"Content-type": "application/json; charset=UTF-8",
"Content-Type": "application/json; charset=UTF-8",
},
body: JSON.stringify(data),
});
/* eslint-enable no-unreachable */
},
};