mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +00:00
Don't send public_upload value in createShare
This commit is contained in:
parent
344d5b22e4
commit
a22b1da16b
@ -110,7 +110,9 @@ public class CreateRemoteShareOperation extends RemoteOperation {
|
|||||||
post.addParameter(PARAM_PATH, mRemoteFilePath);
|
post.addParameter(PARAM_PATH, mRemoteFilePath);
|
||||||
post.addParameter(PARAM_SHARE_TYPE, Integer.toString(mShareType.getValue()));
|
post.addParameter(PARAM_SHARE_TYPE, Integer.toString(mShareType.getValue()));
|
||||||
post.addParameter(PARAM_SHARE_WITH, mShareWith);
|
post.addParameter(PARAM_SHARE_WITH, mShareWith);
|
||||||
post.addParameter(PARAM_PUBLIC_UPLOAD, Boolean.toString(mPublicUpload));
|
if (mPublicUpload) {
|
||||||
|
post.addParameter(PARAM_PUBLIC_UPLOAD, Boolean.toString(mPublicUpload));
|
||||||
|
}
|
||||||
if (mPassword != null && mPassword.length() > 0) {
|
if (mPassword != null && mPassword.length() > 0) {
|
||||||
post.addParameter(PARAM_PASSWORD, mPassword);
|
post.addParameter(PARAM_PASSWORD, mPassword);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user