Skip to content

Commit e837165

Browse files
committed
chore: Add logs to openstreetmap-api
1 parent 340a12e commit e837165

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enyakineczanebot",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Yakındaki veya nöbetçi eczaneleri sorgulamak için Telegram botu",
55
"type": "module",
66
"repository": {

services/openstreetmap-api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ async function getCityAndDistrictFromLocation(latitude, longitude) {
1212

1313
const country_code = locationData.address.country_code;
1414
if (country_code.toLowerCase() != 'tr'){
15+
console.log('-> Country code is not TR on Request for LocationUrl: ' + locationUrl);
1516
return { country_code };
1617
}
1718

0 commit comments

Comments
 (0)