fix: wrong field extract
This commit is contained in:
parent
bcfc04d6cf
commit
1f47882e19
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ export async function initThailandAreaDatabase() {
|
|||
if (!subDistrict.find((v) => v.id === subDistrictId)) {
|
||||
subDistrict.push({
|
||||
id: subDistrictId,
|
||||
name: record["DistrictThaiShort"],
|
||||
nameEN: record["DistrictEngShort"],
|
||||
name: record["TambonThaiShort"],
|
||||
nameEN: record["TambonEngShort"],
|
||||
zipCode: record["PostCodeMain"],
|
||||
districtId,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue