Commit 86f66fac authored by Matthias's avatar Matthias
Browse files

add necessary fields to json

parent 0afd8be5
Pipeline #11578 passed with stages
in 5 minutes and 32 seconds
......@@ -47,6 +47,7 @@ class MonitorDrupalJsonApiInstitution(Resource):
'institution/' + topic_name).json()['data']
topicValue = {
'type': drupalResponse['type'],
'status': drupalResponse['attributes']['status'],
'title': drupalResponse['attributes']['title'],
'field_address': drupalResponse['attributes']['field_address'],
'field_isil': drupalResponse['attributes']['field_isil'],
......
......@@ -47,6 +47,7 @@ class MonitorDrupalJsonApiRecordSet(Resource):
'institution/' + topic_name).json()['data']
topicValue = {
'type': drupalResponse['type'],
'status': drupalResponse['attributes']['status'],
'title': drupalResponse['attributes']['title'],
'field_address': drupalResponse['attributes']['field_address'],
'field_isil': drupalResponse['attributes']['field_isil'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment