Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Get the artifact from [Maven](http://search.maven.org/#search|ga|1|g%3A%22com.pa
<dependency>
    <groupId>com.patreon</groupId>
    <artifactId>patreon</artifactId>
    <version>0.4.2</version>
    <version>0.4.3</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ and https://issues.apache.org/jira/browse/SUREFIRE-1588 -->

<groupId>com.patreon</groupId>
<artifactId>patreon</artifactId>
<version>0.4.2</version>
<version>0.4.3</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Interact with the Patreon API via OAuth</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/patreon/resources/RequestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class RequestUtil {

public InputStream request(String pathSuffix, String accessToken) throws IOException {
String prefix = BASE_URI + "/api/oauth2/api/";
String prefix = BASE_URI + "/api/oauth2/api";
URL url = new URL(prefix.concat(pathSuffix));
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestProperty("Authorization", "Bearer ".concat(accessToken));
Expand Down