NOISSUE correctly set http status code in auth reply

This commit is contained in:
Petr Mrázek 2022-01-16 12:46:20 +01:00 committed by dada513
parent ddfed7bb87
commit 54e3438e37
No known key found for this signature in database
GPG Key ID: 403448C14FA4B33E

View File

@ -44,7 +44,7 @@ void AuthRequest::onRequestFinished() {
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
return;
}
httpStatus_ = 200;
httpStatus_ = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
finish();
}