UpCloudLtd / upcloud-php-api

PHP client for UpCloud's API
MIT License
24 stars 18 forks source link

listZones not returning zone tag #34

Closed samituoh closed 3 years ago

samituoh commented 4 years ago

When i call listZones it doesnt return zone tag eg. "fi-hel1" etc.

Screenshot 2020-03-10 12 02 31
nbejansen commented 4 years ago

Same issue here.

Darep commented 4 years ago

Hmm, strange. This was fixed in https://github.com/UpCloudLtd/upcloud-php-api/pull/15 and released as version 1.0.3. The "name" field in API was renamed to "id" some time ago.

samituoh commented 4 years ago

@Darep Yes. that id found from API but it wasnt on code.. i needed to make setter and getter for ID and after that it works.

Darep commented 4 years ago

Could you create a PR for your change?

PopoSensei commented 3 years ago

Fixed in #39