mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 16:33:03 +00:00
Fix password not updated when sharing via public link
This commit is contained in:
+4
@@ -116,6 +116,10 @@ class UpdateRemoteShareOperation
|
||||
formBodyBuilder.add(PARAM_NAME, name!!)
|
||||
}
|
||||
|
||||
if (password != null) {
|
||||
formBodyBuilder.add(PARAM_PASSWORD, password!!)
|
||||
}
|
||||
|
||||
if (expirationDateInMillis < INITIAL_EXPIRATION_DATE_IN_MILLIS) {
|
||||
// clear expiration date
|
||||
formBodyBuilder.add(PARAM_EXPIRATION_DATE, "")
|
||||
|
||||
Reference in New Issue
Block a user