Skip to content

Commit

Permalink
transport LockID for initiate up/download
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Jun 3, 2022
1 parent a5cabed commit 42a0265
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (s *service) InitiateFileDownload(ctx context.Context, req *provider.Initia
gwres, err := s.gateway.InitiateFileDownload(ctx, &provider.InitiateFileDownloadRequest{
Opaque: req.Opaque,
Ref: buildReferenceInShare(req.Ref, receivedShare),
LockId: req.LockId,
})
if err != nil {
return nil, err
Expand Down Expand Up @@ -231,6 +232,7 @@ func (s *service) InitiateFileUpload(ctx context.Context, req *provider.Initiate
gwres, err := s.gateway.InitiateFileUpload(ctx, &provider.InitiateFileUploadRequest{
Opaque: req.Opaque,
Ref: buildReferenceInShare(req.Ref, receivedShare),
LockId: req.LockId,
Options: req.Options,
})
if err != nil {
Expand Down

0 comments on commit 42a0265

Please sign in to comment.