diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java index f11119a..860b381 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java @@ -105,7 +105,7 @@ public class ServerCommunication try { Request request = new Request.Builder() - .url(BASE_URL + "updateFCMToken.php?user_id="+id+"&user_key="+key+"&fcm_token="+token) + .url(BASE_URL + "update.php?user_id="+id+"&user_key="+key+"&fcm_token="+token) .build(); client.newCall(request).enqueue(new Callback() @@ -172,7 +172,7 @@ public class ServerCommunication try { Request request = new Request.Builder() - .url(BASE_URL + "updateFCMToken.php?user_id=" + id + "&user_key=" + key) + .url(BASE_URL + "update.php?user_id=" + id + "&user_key=" + key) .build(); client.newCall(request).enqueue(new Callback() {