mapbox / tilesets-cli

CLI for interacting with the Mapbox Tilesets API and Mapbox Tiling Service
https://docs.mapbox.com/mapbox-tiling-service
BSD 2-Clause "Simplified" License
125 stars 27 forks source link

Returned message when creating/publishing tilesets includes a period #13

Closed samfader closed 4 years ago

samfader commented 5 years ago

I'm working on creating and publishing my tileset and noticed that the response object contains a . that might be slightly confusing. For example, when creating:

{
  "message": "Successfully created samf.rivers_and_lakes_centerlines_mts."
}

And when publishing:

{
  "jobId": "cjz34qt4o000301qreu6z9h3t",
  "message": "Processing samf.rivers_and_lakes_centerlines_mts."
}

My tileset ID is samf.rivers_and_lakes_centerlines_mts, not samf.rivers_and_lakes_centerlines_mts.. Not a huge thing, but could see it being a bit confusing.

This doesn't happen when using tilesets status:

{
  "failed": 0,
  "id": "samf.rivers_and_lakes_centerlines_mts",
  "last_completed_job": null,
  "processing": 1,
  "queued": 0,
  "success": 0
}
mapsam commented 5 years ago

This is a response from the Tilesets API, we can remove the period there!

suhasdeshpande commented 4 years ago

@samfader please let us know if you still see period. We have fixed this issue.

samfader commented 4 years ago

Thanks @suhasdeshpande @mapsam!