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

Fix issue with boolean to bytes conversion

parent 49dacb33
Pipeline #32949 passed with stages
in 2 minutes
......@@ -227,7 +227,7 @@ class UpdateRecordSet(Resource):
('recordSetId', bytes(record_set_id, encoding='utf-8')),
('sessionId', uuid.uuid4()),
('institutionId', bytes('none', encoding='utf-8')),
('isPublished', bytes(result_topic_value['status'], encoding='utf-8'))
('isPublished', bytes(str(result_topic_value['status']), encoding='utf-8'))
key = bytes(result_topic_value.get('field_memobase_id'), encoding='utf-8')
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