mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
fix(XboxAuthorizationStep): set x-xbl-contract-version
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
fe81ad3fc8
commit
9fac7065a7
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ void XboxAuthorizationStep::perform()
|
|||
auto headers = QList<Net::HeaderPair>{
|
||||
{ "Content-Type", "application/json" },
|
||||
{ "Accept", "application/json" },
|
||||
{ "x-xbl-contract-version", "1" }
|
||||
};
|
||||
m_response.reset(new QByteArray());
|
||||
m_request = Net::Upload::makeByteArray(url, m_response.get(), xbox_auth_data.toUtf8());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue