Fix object share link expiry always being 7 days (#7669)

The expiry value wasn't being sent to the server on modal value change

Fixes #7668
This commit is contained in:
Kaan Kabalak 2019-05-19 17:45:28 -07:00 committed by kannappanr
parent 16c648b109
commit 9e7a19d6b9
2 changed files with 26 additions and 36 deletions

View File

@ -208,7 +208,8 @@ export const shareObject = (object, days, hours, minutes) => {
.PresignedGet({
host: location.host,
bucket: currentBucket,
object: objectName
object: objectName,
expiry: expiry
})
.then(obj => {
dispatch(showShareObject(object, obj.url))

File diff suppressed because one or more lines are too long