Skip to content

Commit

Permalink
Merge pull request #1484 from anyproto/release-6-fix-file-migration
Browse files Browse the repository at this point in the history
Fix error check
  • Loading branch information
requilence authored Aug 14, 2024
2 parents 5a07460 + 13e6cdd commit 926fe51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/files/fileobject/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ func (s *service) deleteMigratedFilesInNonPersonalSpaces(ctx context.Context) er
},
},
})
if err != nil {
return err
}
if len(objectIds) > 0 {
err = s.objectArchiver.SetPagesIsArchived(nil, pb.RpcObjectListSetIsArchivedRequest{
ObjectIds: objectIds,
Expand Down

0 comments on commit 926fe51

Please sign in to comment.