date note fixes

This commit is contained in:
zadam
2019-10-27 22:13:38 +01:00
parent e04845335b
commit b7344329f4
4 changed files with 7 additions and 18 deletions

View File

@@ -64,15 +64,15 @@ async function call(method, url, data, headers = {}) {
});
}
else {
return await ajax(url, method, data);
return await ajax(url, method, data, headers);
}
}
async function ajax(url, method, data) {
async function ajax(url, method, data, headers) {
const options = {
url: baseApiUrl + url,
type: method,
headers: getHeaders(),
headers: getHeaders(headers),
timeout: 60000
};