mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Merge pull request #9 from owncloud/share_link__fix_in_get_shares_for_file
Fix in assignment of URI parameters to get shares of a single file or folder
This commit is contained in:
commit
44ccba347c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user