Skip to content

Commit

Permalink
Merge pull request #1068 from egovernments/ashish-egov-patch-2
Browse files Browse the repository at this point in the history
Update boundaryUtils.ts
  • Loading branch information
ashish-egov authored Jul 15, 2024
2 parents 46df829 + c1f0575 commit 897ba16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ async function createBoundaryEntities(request: any, boundaryMap: Map<any, any>)

for (const chunk of boundaryCodeChunks) {
const boundaryCodeString = chunk.join(', ');
if (chunk.length > 0 && boundaryCodeString) {
if (chunk.length > 0 && boundaryCodeString && boundaryCodeString.length > 2) {
logger.info(`Creating boundary entities for codes: ${boundaryCodeString}`);

try {
Expand Down

0 comments on commit 897ba16

Please sign in to comment.