NOISSUE remove use of obsolete URL constants, simplify the rest
This commit is contained in:
parent
16cc20aefd
commit
58260da861
8 changed files with 13 additions and 18 deletions
|
@ -42,7 +42,7 @@ void YggdrasilTask::executeTask()
|
|||
// Get the content of the request we're going to send to the server.
|
||||
QJsonDocument doc(getRequestContent());
|
||||
|
||||
QUrl reqUrl("https://" + URLConstants::AUTH_BASE + getEndpoint());
|
||||
QUrl reqUrl(URLConstants::AUTH_BASE + getEndpoint());
|
||||
QNetworkRequest netRequest(reqUrl);
|
||||
netRequest.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue