From 36104461501dee8be455ad7d16746fdbeea8e36f Mon Sep 17 00:00:00 2001 From: Kalila L Date: Tue, 15 Sep 2020 22:00:36 -0400 Subject: [PATCH] Update metaverse paths for Android as well. --- .../hifiinterface/provider/EndpointUsersProvider.java | 8 ++++---- .../hifiinterface/provider/UserStoryDomainProvider.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/EndpointUsersProvider.java b/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/EndpointUsersProvider.java index 7c32a8e8fb..bd4df61ecf 100644 --- a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/EndpointUsersProvider.java +++ b/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/EndpointUsersProvider.java @@ -154,18 +154,18 @@ public class EndpointUsersProvider implements UsersProvider { } public interface EndpointUsersProviderService { - @GET("api/v1/users") + @GET("/api/v1/users") Call getUsers(@Query("filter") String filter, @Query("per_page") int perPage, @Query("online") Boolean online); - @DELETE("api/v1/user/connections/{connectionUserName}") + @DELETE("/api/v1/user/connections/{connectionUserName}") Call removeConnection(@Path("connectionUserName") String connectionUserName); - @DELETE("api/v1/user/friends/{friendUserName}") + @DELETE("/api/v1/user/friends/{friendUserName}") Call removeFriend(@Path("friendUserName") String friendUserName); - @POST("api/v1/user/friends") + @POST("/api/v1/user/friends") Call addFriend(@Body BodyAddFriend friendUserName); /* response diff --git a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/UserStoryDomainProvider.java b/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/UserStoryDomainProvider.java index e3b631bd69..6033ce72cc 100644 --- a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/UserStoryDomainProvider.java +++ b/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/provider/UserStoryDomainProvider.java @@ -169,7 +169,7 @@ public class UserStoryDomainProvider implements DomainProvider { } public interface UserStoryDomainProviderService { - @GET("api/v1/user_stories") + @GET("/api/v1/user_stories") Call getUserStories(@Query("include_actions") String includeActions, @Query("restriction") String restriction, @Query("require_online") boolean requireOnline,