Commit c7f21755 authored by Matthias's avatar Matthias

add status field to json

parent d549b02d
Pipeline #11576 passed with stages
in 5 minutes and 59 seconds
......@@ -46,6 +46,7 @@ class MonitorDrupalJsonApiInstitution(Resource):
requests.get('https://mb-wf1.memobase.unibas.ch/jsonapi/node/' +
'institution/' + topic_name).json()['data']
topicValue = {
'status': drupalResponse['attributes']['status'],
'title': drupalResponse['attributes']['title'],
'field_address': drupalResponse['attributes']['field_address'],
'field_isil': drupalResponse['attributes']['field_isil'],
......
......@@ -46,6 +46,7 @@ class MonitorDrupalJsonApiRecordSet(Resource):
requests.get('https://mb-wf1.memobase.unibas.ch/jsonapi/node/' +
'institution/' + topic_name).json()['data']
topicValue = {
'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