Skip to content

Commit 60fd4d9

Browse files
committed
formatting change
1 parent 76b567c commit 60fd4d9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/afd/webrequests/WebRequests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public static int getRequest(CommandContext<ServerCommandSource> context) {
4747
false);
4848
try {
4949
HttpRequest.Builder builder = HttpRequest.newBuilder()
50-
.setHeader("User-Agent",
51-
"Minecraft Fabric Web Requests mod by AFancyDog [https://github.com/AFancyDog/Web-Requests]")
50+
.setHeader("User-Agent","Minecraft Fabric Web Requests mod by AFancyDog [https://github.com/AFancyDog/Web-Requests]")
5251
.GET()
5352
.uri(new URI(url));
5453
// "Header: content goes here:::X-Other-header: some stuff" splits into two

0 commit comments

Comments
 (0)