Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Fix typo
Dieser Commit ist enthalten in:
Ursprung
c10c3547b9
Commit
5e437d26d9
@ -53,7 +53,7 @@ public class DumpSubCmd extends ViaSubCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
HttpURLConnection con = null;
|
HttpURLConnection con;
|
||||||
try {
|
try {
|
||||||
con = (HttpURLConnection) new URL("https://api.github.com/gists").openConnection();
|
con = (HttpURLConnection) new URL("https://api.github.com/gists").openConnection();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
@ -62,7 +62,7 @@ public class DumpSubCmd extends ViaSubCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
con.setRequestProperty("Content-Type", "application/jsom");
|
con.setRequestProperty("Content-Type", "application/json");
|
||||||
con.addRequestProperty("User-Agent", "ViaVersion");
|
con.addRequestProperty("User-Agent", "ViaVersion");
|
||||||
con.setRequestMethod("POST");
|
con.setRequestMethod("POST");
|
||||||
con.setDoOutput(true);
|
con.setDoOutput(true);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren