fix calendar

This commit is contained in:
kandrusyak
2023-08-03 00:38:57 +03:00
parent 4def8adf85
commit 081eeacc1d
9 changed files with 72 additions and 50 deletions

View File

@@ -71,7 +71,7 @@ function request(method, url, headers = {}, body, type = "") {
return fetch(prepareUrl(url), requestOptions);
}
function get(url, type, headers, attempts = 3) {
function get(url, type = "default", headers = {}, attempts = 3) {
return handleRequest("GET", url, headers, attempts, null, type);
}