Skip to content

Commit

Permalink
refactor: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aman19K committed Nov 7, 2023
1 parent 94e4fe0 commit 4ca2075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/contentstack-export-to-csv/src/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -876,10 +876,10 @@ async function createImportableCSV(payload, taxonomies) {

/**
* Get the parent and child terms, then arrange them hierarchically in a CSV file.
* @param {*} parentTerms list of parent terms(either parent_uid equal to null or match)
* @param {*} parentTerms list of parent terms
* @param {*} terms respective terms of taxonomies
* @param {*} taxonomiesData csv data
* @param {*} headers list of headers including dynamically generated level
* @param {*} headers list of csv headers include taxonomy and terms column
* @param {*} termsData parent and child terms
*/
function getParentAndChildTerms(parentTerms, terms, headers, termsData=[]) {
for (let i = 0; i < parentTerms?.length; i++) {
Expand Down

0 comments on commit 4ca2075

Please sign in to comment.