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
master
Kaan Kabalak 6 years ago committed by kannappanr
parent 16c648b109
commit 9e7a19d6b9
  1. 3
      browser/app/js/objects/actions.js
  2. 59
      browser/ui-assets.go

@ -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
Loading…
Cancel
Save