diff --git a/src/lib/hierarchy-operations/delete-hierarchy.js b/src/lib/hierarchy-operations/delete-hierarchy.js index 1d27becc..eeaca76e 100644 --- a/src/lib/hierarchy-operations/delete-hierarchy.js +++ b/src/lib/hierarchy-operations/delete-hierarchy.js @@ -24,7 +24,7 @@ async function deleteHierarchy(db, options, sourceIds) { const affectedContactCount = descendantsAndSelf.length; info( - `Staged updates to delete ${prettyPrintDocument(sourceDoc)}. ${affectedContactCount.length} contact(s) ` + `Staged updates to delete ${prettyPrintDocument(sourceDoc)}. ${affectedContactCount} contact(s) ` + `and ${affectedReportCount} report(s).` ); }