Inconsistent state in locations in API (json data)
https://nomads.com/@haarolean.json?key=xxx
I have these:
"location": {
"now": {
"city": "Canggu",
"state": "Bali",
"country": "Indonesia",
…
and
"previous": {
"city": "Ubud, Bali",
"state": null,
"country": "Indonesia",
so for Ubud ‘Bali’ is a part of the city and state is null, but for Canggu it’s a state. Should we align these perhaps? Thanks.
Log in to comment and vote
Comments4
@levelsio
Feb 22
Okay fixed!
Yellow Nucleon
Feb 23
thank you
@levelsio
Feb 22
Yes, the city db has state, but trips db doesn’t, adding now and will make consistent
Yellow Nucleon
Feb 22
also state can be both nullable and empty?
e.g. da nang:
"city": "Da Nang", "state": "", "country": "Vietnam",