Skip to content
Snippets Groups Projects
Commit 5a1b5e61 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

DBOARD3-1001:contacts from the service layer

parent d93f4ddf
No related branches found
No related tags found
1 merge request!47DBOARD3-1001:contacts from the service layer
......@@ -1863,10 +1863,6 @@ def populate_mic_with_third_party_data(interface_services, hierarchy, circuit_id
def _get_formatted_third_party_data(_circuit_data):
if _circuit_data['status'] == 'operational' and _circuit_data.get('third_party_id'):
related_services_info = get_related_services_for_third_party_type_circuit(_circuit_data)
for contact in _circuit_data['contacts']:
related_services_info['contacts'].add(contact)
for planned_work_contact in _circuit_data['planned_work_contacts']:
related_services_info['planned_work_contacts'].add(planned_work_contact)
return {
'id': _circuit_data['id'],
'status': _circuit_data['status'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment