diff --git a/src/api/agency/getAgencyPostCodeRange.ts b/src/api/agency/getAgencyPostCodeRange.ts index 72b1cc41..bf569894 100644 --- a/src/api/agency/getAgencyPostCodeRange.ts +++ b/src/api/agency/getAgencyPostCodeRange.ts @@ -27,7 +27,7 @@ const getAgencyPostCodeRange = (id: string) => { const items = el.split('-'); result.push({ from: items[0], - until: items[1], + until: items[1] || items[0], }); });