Skip to content

Commit 18e2464

Browse files
Merge pull request #10 from Andre601/patch-1
Actually set custom User Agent
2 parents 8d8fe95 + 297dd45 commit 18e2464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/inventivetalent/spiget/client/SpigetClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class SpigetClient {
2121
* @param userAgent User-Agent
2222
*/
2323
public SpigetClient(String userAgent) {
24-
this.userAgent = "SpigetJavaClient/2.0";
24+
this.userAgent = userAgent;
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)