Skip to content

Commit

Permalink
fix support legacy ocm access
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed May 11, 2023
1 parent 8b5d251 commit ca75c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/propfind.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ func (s *svc) newPropRaw(key, val string) *propertyXML {
}

func supportLegacyOCMAccess(ctx context.Context, md *provider.ResourceInfo) {
ocm10 := ctx.Value(ctxOCM10).(bool)
ocm10, _ := ctx.Value(ctxOCM10).(bool)
if ocm10 {
// the path is something like /<token>/...
// we need to strip the token part as this
Expand Down

0 comments on commit ca75c78

Please sign in to comment.