knowbee / rwanda

🇷🇼This is a simple npm package that returns provinces, districts, sectors, villages and cells from Rwanda
https://www.npmjs.com/package/rwanda
MIT License
47 stars 20 forks source link

fix province capitalization #6

Closed knowbee closed 4 years ago

knowbee commented 4 years ago

What does this PR do?

fix capitalization of province when you call Sector method

Description of Task to be completed?

fix TypeError thrown when user calls Sector with lowercase province input

How should this be manually tested?

try console.log(Sector("south", "huye"))

Any background context you want to provide?

Whether you pass in lowercase input or uppercase input you should get the results

Screenshots (if appropriate)

N/A