this much silliness should be impossible !!!!

This commit is contained in:
altalk23 2024-01-29 23:17:16 +03:00
parent e58ed225d8
commit ea81897d5b
2 changed files with 3 additions and 4 deletions
loader/src

View file

@ -52,7 +52,7 @@ void updater::fetchLatestGithubRelease(
std::string modifiedSince;
if (!force) {
modifiedSince = Mod::get()->getSavedValue("last-modified-github-release-check", std::string());
modifiedSince = Mod::get()->getSavedValue("last-modified-auto-update-check", std::string());
}
// TODO: add header to not get rate limited

View file

@ -347,10 +347,9 @@ SentAsyncWebRequest::Impl::Impl(SentAsyncWebRequest* self, AsyncWebRequest const
auto colon = line.find(':');
if (colon == std::string::npos) continue;
auto key = line.substr(0, colon);
auto value = line.substr(colon + 1);
headers[key] = value;
auto value = line.substr(colon + 2);
self->m_responseHeader[key] = value;
}
self->m_responseHeader = std::move(headers);
});
return size * nitems;
});