mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Update MicrosoftAuthTask.java
This commit is contained in:
parent
444739eacb
commit
d2e87bd4e3
@ -253,8 +253,8 @@ public class MicrosoftAuthTask extends AsyncTask<String, Void, Object> {
|
||||
|
||||
HttpRequest request = HttpRequest.newBuilder(uri)
|
||||
.header("Authorization", "Bearer " + mcAccessToken)
|
||||
// .header("Content-Type", "application/json")
|
||||
// .header("Accept", "application/json")
|
||||
.header("Content-Type", "application/json")
|
||||
.header("Accept", "application/json")
|
||||
.GET().build();
|
||||
|
||||
HttpResponse resp = HttpClient.newBuilder().build().sendRequest(request, HttpResponse.BodyHandlers.ofString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user