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
parent c1bf31cb27
commit aa770b63fb

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();
}