Skip to content

Commit

Permalink
Add prefix api/v1 to all API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
collimarco committed Feb 9, 2019
1 parent 99a11a0 commit 6ae8e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xyz/pushpad/Notification.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private String reqBody(String[] uids, String[] tags) {
}

private JSONObject deliver(String reqBody) throws DeliveryException {
String endpoint = "https://pushpad.xyz/projects/" + pushpad.projectId + "/notifications";
String endpoint = "https://pushpad.xyz/api/v1/projects/" + pushpad.projectId + "/notifications";
HttpsURLConnection connection = null;
int code;
String responseBody;
Expand Down

0 comments on commit 6ae8e8d

Please sign in to comment.