Skip to content

Commit

Permalink
Use complete path in PurgeRecycleRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Oct 14, 2021
1 parent 696c073 commit ece5de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/trashbin.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ func (h *TrashbinHandler) delete(w http.ResponseWriter, r *http.Request, s *svc,
Ref: &provider.Reference{
Path: basePath,
},
Key: path.Join(key, utils.MakeRelativePath(itemPath)),
Key: path.Join(key, itemPath),
}

res, err := client.PurgeRecycle(ctx, req)
Expand Down

0 comments on commit ece5de0

Please sign in to comment.