If no authToken is stored in settings but email and password are on startup the log_in route is triggered to receive a new token. This token will be used to access a protected API.

This commit is contained in:
2026-02-20 16:44:58 +01:00
parent 064da850c4
commit 6cd205506f
10 changed files with 113 additions and 15 deletions

View File

@ -71,7 +71,7 @@ QByteArray JsonParser::itemValuesListToJson(const QList<ModelItemValues>& itemVa
return jsonDoc.toJson(QJsonDocument::Compact);
}
QByteArray JsonParser::ToJsonObject(const QHash<QString, QVariant>& values,
QByteArray JsonParser::toJsonDoc(const QHash<QString, QVariant>& values,
const QString& objectName) {
QJsonDocument jsonDoc;
QJsonObject rootObject;