Closed oscgonfer closed 3 months ago
I am trying to set a country for a user via PUT but I am not able to figure it out. It seems like we do not allow to update the country?
country
user
PUT
This is for me:
me
https://github.com/fablabbcn/smartcitizen-api/blob/c93097e5072c90d2c8df65c522aab82312b6e583/app/controllers/v0/me_controller.rb#L33
In the front-end, there is a convertion table between country_codes and country, so I assume there's something I am missing in the rationale behind this?
country_codes
Fixed in e736331!
I am trying to set a
country
for auser
viaPUT
but I am not able to figure it out. It seems like we do not allow to update thecountry
?This is for
me
:https://github.com/fablabbcn/smartcitizen-api/blob/c93097e5072c90d2c8df65c522aab82312b6e583/app/controllers/v0/me_controller.rb#L33
In the front-end, there is a convertion table between
country_codes
andcountry
, so I assume there's something I am missing in the rationale behind this?