Skip to content

Commit

Permalink
Update geocoding.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
overthestream authored Nov 17, 2023
1 parent 209dc55 commit fc77017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geocoding/geocoding.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class GeocodingService {
`&page=${page}` +
'&data=LT_C_ADSIGG_INFO' +
(geo ? `&geomFilter=${geo}` : '') +
(name ? `&attrFilter=full_nm:like:${name}` : '') +
(name ? `&attrFilter=sig_kor_nm:like:${name}` : '') +
'&geometry=false';

const response = await axios.get(requestURL);
Expand Down Expand Up @@ -70,7 +70,7 @@ export class GeocodingService {
`&size=${size}` +
`&request=${operation}` +
'&data=LT_C_ADSIGG_INFO' +
`&attrFilter=full_nm:like:${name}`;
`&attrFilter=sig_kor_nm:like:${name}`;

const response = await axios.get(requestURL);
return response.data.response;
Expand Down

0 comments on commit fc77017

Please sign in to comment.