It seems not right for calling ParentID() to be messing with

o.Path?
This commit is contained in:
Rob Emery 2025-04-19 11:20:14 +01:00
parent b535847ba9
commit c1fde0f4e4

View File

@ -501,6 +501,6 @@ func (o contentDirectoryObject) ParentID() string {
if o.IsRoot() {
return "-1"
}
o.Path = path.Dir(o.Path)
return o.ID()
parentObject := contentDirectoryObject{Path: path.Dir(o.Path)}
return parentObject.ID()
}