Skip to content

Commit

Permalink
send shared token when creating ocm share
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed May 9, 2023
1 parent 2f1900a commit 5844697
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/grpc/services/ocmshareprovider/ocmshareprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ func (s *service) getWebdavProtocol(ctx context.Context, share *ocm.Share, m *oc
}

return &ocmd.WebDAV{
Permissions: perms,
URL: s.webdavURL(ctx, share),
Permissions: perms,
URL: s.webdavURL(ctx, share),
SharedSecret: share.Token,
}
}

Expand Down

0 comments on commit 5844697

Please sign in to comment.