Skip to content

Commit 6ae8e8d

Browse files
committed
Add prefix api/v1 to all API endpoints
1 parent 99a11a0 commit 6ae8e8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/xyz/pushpad/Notification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private String reqBody(String[] uids, String[] tags) {
120120
}
121121

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

0 commit comments

Comments
 (0)