Skip to content

Commit

Permalink
Update storage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 authored Jul 29, 2022
1 parent f0edded commit c9c934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func CreatePreSign(obj *object.FileObject) *response.Response {
return response.NewError(503, err)
}

uri, err := client.PreSignRequest(obj.Ctx, stow.ClientMethodPut, getKey(obj), stow.PresignRequestParams{
uri, err := client.PreSignRequest(obj.Ctx, stow.ClientMethodGet, getKey(obj), stow.PresignRequestParams{
ExpiresIn: time.Hour * 5,
})
if err != nil {
Expand Down

0 comments on commit c9c934d

Please sign in to comment.