VSx2/weatherGetCitiesAPI

Bug #1. Incorrect total_items in response

Opened this issue · 1 comments

Steps to reproduce:

  1. Make request http://apis.mcwladkoe.ml/api?mode=0&q=Khark
  2. Look at the result

Expected result: 5 cities in items array - totalItems = 5
Actual result: 5 cities in items array - totalItems = 4

Suggestion: I think the problem occurs when we have two similar city names like Kharkhauda

fixed