mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-18 20:03:00 +00:00
Refactored handle of ownCloud URIs inside OwnCloudClient; rest of library adapted
This commit is contained in:
@@ -78,7 +78,7 @@ public class GetRemoteUserNameOperation extends RemoteOperation {
|
||||
|
||||
//Get the user
|
||||
try {
|
||||
get = new GetMethod(client.getWebdavUri() + OCS_ROUTE);
|
||||
get = new GetMethod(client.getBaseUri() + OCS_ROUTE);
|
||||
get.addRequestHeader(OCS_API_HEADER, OCS_API_HEADER_VALUE);
|
||||
status = client.executeMethod(get);
|
||||
if(isSuccess(status)) {
|
||||
|
||||
Reference in New Issue
Block a user