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

Fix UUID not as bytes

parent 0a9876d6
Pipeline #32953 passed with stages
in 2 minutes and 4 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()),
('sessionId', uuid.uuid4().bytes),
('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