api current user add phone response

project_pack
p31729568 5 years ago
parent 87634d9bee
commit 52315f5426

@ -506,7 +506,7 @@ class CareersService
{username: current_user.show_name, login: current_user.login, {username: current_user.show_name, login: current_user.login,
user_id: current_user.id, image_url: url_to_avatar(current_user), user_id: current_user.id, image_url: url_to_avatar(current_user),
admin: current_user.admin?, is_teacher: current_user.user_extensions.try(:identity) == 0, admin: current_user.admin?, is_teacher: current_user.user_extensions.try(:identity) == 0,
tidding_count: count} tidding_count: count, phone: current_user.phone}
end end
def find_career id def find_career id

Loading…
Cancel
Save