Commit b4384122 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix link?

parent b37b80e2
Pipeline #24479 passed with stages
in 2 minutes and 18 seconds
......@@ -74,8 +74,8 @@ def get_node_id(memobase_id: str, node_type: str):
'X-API-Key': current_app.config['drupal-cms-admin-key'],
'Authorization': 'Basic bWVtb2Jhc2U6MjAyMA=='
}
url = f'{current_app.config["drupal-api-url"]}/jsonapi/node/{node_type}?filter[' \
f'field_memobase_id]={memobase_id} '
url = f'{current_app.config["drupal-api-url"]}/jsonapi/node/{node_type}?filter['\
f'field_memobase_id]={memobase_id}'
response = requests.get(url, headers=headers)
if response.ok:
......
Supports Markdown
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