Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Nov 29, 2022
1 parent 1178dc7 commit 19d3a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ocm/share/manager/nextcloud/nextcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ func (sm *Manager) Share(ctx context.Context, md *provider.ResourceId, g *ocm.Sh

requestBodyMap := map[string]interface{}{
"shareWith": g.Grantee.GetUserId().OpaqueId,
"name": name[5:], // e.g. /home/welcome.txt becomes /welcome.txt
"name": name, // e.g. /home/welcome.txt becomes /welcome.txt
"providerId": s.Id.OpaqueId,
"owner": userID.OpaqueId,
"protocol": protocol,
"meshProvider": userID.Idp,
"meshProvider": sm.webDAVHost, // userID.Idp,
}
err = sender.Send(ctx, requestBodyMap, pi)
if err != nil {
Expand Down

0 comments on commit 19d3a41

Please sign in to comment.