mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
Merge pull request #2315 from internetee/2307-bulk-change-poll-messages
Fixed notifications about automatic contact name update
This commit is contained in:
commit
95780ec84a
23 changed files with 329 additions and 221 deletions
|
@ -34,15 +34,15 @@ module Api
|
|||
end
|
||||
end
|
||||
|
||||
def do_need_update_contact
|
||||
result = current_registrant_user.do_need_update_contact?
|
||||
def do_need_update_contacts
|
||||
result = current_registrant_user.do_need_update_contacts?
|
||||
render json: { update_contacts: result[:result], counter: result[:counter] }
|
||||
end
|
||||
|
||||
def update_company_contacts
|
||||
companies = current_registrant_user.update_company_contacts
|
||||
def update_contacts
|
||||
contacts = current_registrant_user.update_contacts
|
||||
|
||||
render json: { message: 'get it', companies: companies }
|
||||
render json: { message: 'get it', contacts: contacts }
|
||||
end
|
||||
|
||||
def update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue