From 90ba3c1134a38ccdaf1aa79b19e5e6817d4733ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 5 Jan 2020 22:33:58 +0100 Subject: [PATCH] fix api urls --- .../simplecloudnotifier/model/ServerCommunication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {