CICCIOSGAMINO / openweather-apis

Simple APIs for OpenWeatherMap.org basic services
GNU General Public License v3.0
44 stars 27 forks source link

Removed double encoding of city name #34

Closed naofireblade closed 4 years ago

naofireblade commented 4 years ago

Fixes #28

Little PR to fix the api call with a city name including country code e.g. "Berlin, DE".

The encoding happens twice:

I removed the encoding in line 32. I updated the package json to version 4.2.1

Watch out, the issue also exists in branch v5.0.0-pre.