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

Fix record set update

parent ec9cfc46
Pipeline #32989 passed with stages
in 1 minute and 51 seconds
......@@ -36,8 +36,8 @@ class WriteTypeReportToDrupal(Resource):
type: string
example: 'recordset'
description: Either 'recordset' or 'institution'.
example: 'record_set'
description: Either 'record_set' or 'institution'.
type: string
example: 'sag'
......@@ -106,7 +106,7 @@ class WriteTypeReportToDrupal(Resource):
if node_type == 'institution':
drupal_type = 'node--institution'
url += 'institution/'
elif node_type == 'recordset':
elif node_type == 'record_set':
drupal_type = 'node--record_set'
url += 'record_set/'
url = f'{url}{identifier}'
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