cleanups
tests / package-smoke-linux (push) Skipped
tests / package-smoke-windows (push) Skipped
tests / package-smoke-macos (push) Skipped
tests / linux (push) Successful in 2m22s
tests / macos (push) Successful in 2m29s
tests / windows (push) Successful in 4m31s

Signed-off-by: galeon <dertiellis@gmail.com>
This commit is contained in:
galeon committed 2026-11-03 09:52:33 +03:00
1 parent 5635dcc558
commit 98344a1870
15 files changed
+38 -480

No files matched your search

-2
View File
@@ -85,7 +85,6 @@ void AuthService::postJson(
const int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
const QByteArray payload = reply->readAll();
// Сетевую ошибку отличаем от ответа сервера: при 401 статус есть, а error — есть всегда.
QString transportError;
if (status == 0 && reply->error() != QNetworkReply::NoError)
transportError = reply->errorString();
@@ -136,7 +135,6 @@ void AuthService::loginElyBy(const QString &login,
return;
}
// Токен протух — пробуем продлить его, не спрашивая пароль.
emit progress(Loc::text("auth.ely.progress.refreshingToken"));
postJson(QStringLiteral("/auth/refresh"),
{{QStringLiteral("accessToken"), accessToken},