Skip to content

Commit

Permalink
fix publiclink download
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic committed May 26, 2021
1 parent 0d9cfe3 commit 8d48d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/publicfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (s *svc) adjustResourcePathInURL(w http.ResponseWriter, r *http.Request) bo
return false
}
pathRes, err := client.GetPath(ctx, &provider.GetPathRequest{
Ref: tokenStatInfo.GetRef(),
Ref: tokenStatInfo.GetId(),
})
if err != nil {
sublog.Error().Msg("Could not get path of resource")
Expand Down

0 comments on commit 8d48d98

Please sign in to comment.