mirror of
https://github.com/minio/minio.git
synced 2025-05-21 09:33:50 -04: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({
|
.PresignedGet({
|
||||||
host: location.host,
|
host: location.host,
|
||||||
bucket: currentBucket,
|
bucket: currentBucket,
|
||||||
object: objectName
|
object: objectName,
|
||||||
|
expiry: expiry
|
||||||
})
|
})
|
||||||
.then(obj => {
|
.then(obj => {
|
||||||
dispatch(showShareObject(object, obj.url))
|
dispatch(showShareObject(object, obj.url))
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user