Skip to content

Commit

Permalink
fix: lowercase field names of data returned from ugrc search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Aug 8, 2024
1 parent c4f5c4f commit 20dbe8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cSpell.words": [
"countyid",
"COUNTYNBR",
"firebaserc",
"FULLNAME",
Expand All @@ -8,6 +9,7 @@
"QMMTB",
"SANPETE",
"setversion",
"vistaid",
"WEBAPI"
],
"editor.formatOnSave": true,
Expand Down
10 changes: 5 additions & 5 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ const config = {
},
fieldNames: {
ZIP5: 'ZIP5',
VistaID: 'VistaID',
CountyID: 'CountyID',
COUNTYNBR: 'COUNTYNBR',
DIST: 'DIST',
DISTRICT: 'DISTRICT',
VistaID: 'vistaid',
CountyID: 'countyid',
COUNTYNBR: 'countynbr',
DIST: 'dist',
DISTRICT: 'district',
Address: 'Address',
ResidenceID: 'ResidenceID',
AddNum: 'AddNum', // address points
Expand Down

0 comments on commit 20dbe8d

Please sign in to comment.