Commit 9f76cd42 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix UUID not as bytes

parent ddc60629
Pipeline #32954 passed with stages
in 1 minute and 59 seconds
......@@ -226,7 +226,7 @@ class UpdateRecordSet(Resource):
def send_message(self, result_topic_value, record_set_id):
headers = [
('recordSetId', bytes(record_set_id, encoding='utf-8')),
('sessionId', uuid.uuid4().bytes),
('sessionId', bytes(str(uuid.uuid4()), encoding='utf-8')),
('institutionId', bytes('none', encoding='utf-8')),
('isPublished', bytes(str(result_topic_value['status']), 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