Small api logic changes, small order changes
This commit is contained in:
@@ -102,6 +102,7 @@ def account_verify_phone(params):
|
||||
def account_get(params):
|
||||
user = _reqire_access_token(params)
|
||||
return api_make_response({
|
||||
"id": user.id,
|
||||
"name": user.name,
|
||||
"surname": user.surname,
|
||||
"email": user.email,
|
||||
@@ -152,7 +153,7 @@ api_methods = {
|
||||
"params": [
|
||||
|
||||
],
|
||||
"returns": "Поля пользователя (name, surname, email, phone, phone_verified)."
|
||||
"returns": "Поля пользователя (id, name, surname, email, phone, phone_verified)."
|
||||
},
|
||||
|
||||
"account.verifyPhone": {
|
||||
|
||||
Reference in New Issue
Block a user