Add signatureZoneIndex to published message
The 'signatureZoneIndex' field is now included in the message body published to the outbound exchange. This change ensures that all necessary information is transmitted.
This commit is contained in:
@@ -58,6 +58,7 @@ def on_message(channel, method_frame, header_frame, body):
|
||||
|
||||
channel.basic_publish(exchange=EXCHANGE_OUT,
|
||||
body=json.dumps({'signatureId': body_content['signatureId'],
|
||||
'signatureZoneIndex': body_content['signatureZoneIndex'],
|
||||
'content': base64.b64encode(signed.read()).decode('utf-8')}),
|
||||
properties=pika.BasicProperties(content_type='application/json',
|
||||
delivery_mode=pika.DeliveryMode.Transient),
|
||||
|
Reference in New Issue
Block a user