Feature: API for updating account settings (#645)
* Feature: API for updating account settings - API to update account locale - API to update account name - API to show account info
This commit is contained in:
3
app/views/api/v1/accounts/show.json.jbuilder
Normal file
3
app/views/api/v1/accounts/show.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.id @account.id
|
||||
json.name @account.name
|
||||
json.locale @account.locale
|
||||
3
app/views/api/v1/accounts/update.json.jbuilder
Normal file
3
app/views/api/v1/accounts/update.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.id @account.id
|
||||
json.name @account.name
|
||||
json.locale @account.locale
|
||||
Reference in New Issue
Block a user