feat cpp-qt-client: fix cast primitive to string (#20000)

This commit is contained in:
Kirill Zimnikov
2024-10-31 20:10:07 +07:00
committed by GitHub
parent b66b7af5d0
commit 66c7b2f8cc
3 changed files with 5 additions and 5 deletions

View File

@@ -635,7 +635,7 @@ void PFXUserApi::loginUser(const QString &username, const QString &password) {
else
fullPath.append("?");
fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(username));
fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(::test_namespace::toStringValue(username)));
}
{
@@ -650,7 +650,7 @@ void PFXUserApi::loginUser(const QString &username, const QString &password) {
else
fullPath.append("?");
fullPath.append(QUrl::toPercentEncoding("password")).append(querySuffix).append(QUrl::toPercentEncoding(password));
fullPath.append(QUrl::toPercentEncoding("password")).append(querySuffix).append(QUrl::toPercentEncoding(::test_namespace::toStringValue(password)));
}
PFXHttpRequestWorker *worker = new PFXHttpRequestWorker(this, _manager);
worker->setTimeOut(_timeOut);