Skip to content

Commit 2caba08

Browse files
committed
Fix incorrectly displaying info about category instead of section
1 parent 1507366 commit 2caba08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_deploy/zendesk.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ function getPositionRow(zendeskCategories, zendeskSections, dirPath) {
831831
category: positionLevels[0],
832832
section: positionLevels[1],
833833
source: clc.green(dirPath),
834-
target: clc.green(zendeskCategory.html_url.split('-').slice(0, 2).join('-'))
834+
target: clc.green(zendeskSection.html_url.split('-').slice(0, 2).join('-'))
835835
};
836836
}
837837
}
@@ -865,7 +865,7 @@ function getPositionRows(zendeskCategories, zendeskSections, localDirPaths) {
865865
category: category_name,
866866
section: section_name,
867867
source: clc.red('Not found'),
868-
target: clc.yellow(zendeskCategory.html_url.split('-').slice(0, 2).join('-'))
868+
target: clc.yellow(zendeskSection.html_url.split('-').slice(0, 2).join('-'))
869869
})
870870
}
871871
}

0 commit comments

Comments
 (0)