mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-02 17:51:18 +00:00
fix(backend): HKR rets wrong deletion keys
This commit is contained in:
@@ -37,7 +37,7 @@ func (r *HierarchicalKeyResolver) ResolveDeletionKeys(ctx context.Context, node
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &DeletionPlan{Prefix: blob.Key(path)}, nil
|
return &DeletionPlan{Prefix: blob.Key(fmt.Sprintf("%s/%s", node.AccountID, path))}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResolveBulkMoveOps computes blob move operations for nodes being moved to a new parent.
|
// ResolveBulkMoveOps computes blob move operations for nodes being moved to a new parent.
|
||||||
|
|||||||
Reference in New Issue
Block a user