Skip to content
Snippets Groups Projects

fix: handle pdl starting with 0

Merged Bastien DUMONT requested to merge 23-handle-13-digits-pdl into main
All threads resolved!
2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -184,7 +184,7 @@ function parsePointId(pointId) {
} else if (strPointId.length === 13) {
return `0${strPointId}`
} else {
throw new Error(`PointId ${pointId} is not malformed`)
throw new Error(`PointId ${pointId} is malformed`)
}
}
Loading