Unified Storage - Fix bug when cleaning up legacy on create (#111511)

fix bug - we should be calling s.store.Get() instead of s.Get(). Adds regression test.
This commit is contained in:
owensmallwood
2025-09-24 11:09:20 +01:00
committed by GitHub
parent 053920b8b7
commit 98fd3e8fe9
2 changed files with 53 additions and 1 deletions
+1 -1
View File
@@ -1227,7 +1227,7 @@ func (s *Service) nestedFolderDelete(ctx context.Context, cmd *folder.DeleteFold
return descendantUIDs, folder.ErrBadRequest.Errorf("missing signed in user")
}
_, err := s.Get(ctx, &folder.GetFolderQuery{
_, err := s.store.Get(ctx, folder.GetFolderQuery{
UID: &cmd.UID,
OrgID: cmd.OrgID,
SignedInUser: cmd.SignedInUser,