mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
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:
parent
16c648b109
commit
9e7a19d6b9
@ -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…
Reference in New Issue
Block a user