File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/com/owncloud/android/lib/resources/users Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public class GetRemoteUserInfoOperation extends RemoteOperation {
4646 private static final String TAG = GetRemoteUserInfoOperation .class .getSimpleName ();
4747
4848 // OCS Route
49- private static final String OCS_ROUTE = "/index .php/ocs /cloud/user?format=json" ;
49+ private static final String OCS_ROUTE = "/ocs/v1 .php/cloud/user?format=json" ;
5050
5151 // JSON Node names
5252 private static final String NODE_OCS = "ocs" ;
@@ -86,7 +86,7 @@ protected RemoteOperationResult run(OwnCloudClient client) {
8686 // Result
8787 result = new RemoteOperationResult (true , status , get .getResponseHeaders ());
8888 // Username in result.data
89- ArrayList <Object > data = new ArrayList <Object >();
89+ ArrayList <Object > data = new ArrayList <>();
9090 data .add (userInfo );
9191 result .setData (data );
9292 } else {
You can’t perform that action at this time.
0 commit comments