diff --git a/app/src/main/java/net/nullsum/audinaut/util/Util.java b/app/src/main/java/net/nullsum/audinaut/util/Util.java index 5c9cd18..2e65d4b 100644 --- a/app/src/main/java/net/nullsum/audinaut/util/Util.java +++ b/app/src/main/java/net/nullsum/audinaut/util/Util.java @@ -350,7 +350,8 @@ public final class Util { String username = prefs.getString(Constants.PREFERENCES_KEY_USERNAME + instance, null); String password = prefs.getString(Constants.PREFERENCES_KEY_PASSWORD + instance, null); - builder.addPathSegment("rest/" + method + ".view"); + builder.addPathSegment("rest"); + builder.addPathSegment(method + ".view"); int hash = (username + password).hashCode(); Pair values = tokens.get(hash);