internal: fix Client.PropfindFlat when endpoint has a non-empty path

This commit is contained in:
Simon Ser 2020-02-12 16:40:30 +01:00
parent 9afa59dc22
commit 7f285fdf83
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -125,7 +125,7 @@ func (c *Client) PropfindFlat(path string, propfind *Propfind) (*Response, error
return nil, err return nil, err
} }
return ms.Get(path) return ms.Get(c.ResolveHref(path).Path)
} }
func parseCommaSeparatedSet(values []string, upper bool) map[string]bool { func parseCommaSeparatedSet(values []string, upper bool) map[string]bool {