1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 08:26:10 +00:00

Fix in set of parameters to get shares of a single file or folder

This commit is contained in:
David A. Velasco 2014-02-05 09:36:55 +01:00
parent 764fb1058f
commit 8689c7a6ca

View File

@ -94,13 +94,9 @@ public class GetSharesForFileRemoteOperation extends RemoteOperation {
// Add Parameters to Get Method
get.setQueryString(new NameValuePair[] {
new NameValuePair(PARAM_PATH, mPath)
});
get.setQueryString(new NameValuePair[] {
new NameValuePair(PARAM_RESHARES, String.valueOf(mReshares))
});
get.setQueryString(new NameValuePair[] {
new NameValuePair(PARAM_SUBFILES, String.valueOf(mSubfiles))
new NameValuePair(PARAM_PATH, mPath),
new NameValuePair(PARAM_RESHARES, String.valueOf(mReshares)),
new NameValuePair(PARAM_SUBFILES, String.valueOf(mSubfiles))
});
status = client.executeMethod(get);