Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
This commit is contained in:
Paul Yuknewicz 2022-03-07 13:56:02 -08:00
parent fd6f7dd1ba
commit 4579c1657b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def subscribe():
@app.route('/orders', methods=['POST'])
def orders_subscriber():
event = from_http(request.headers, request.get_data())
print('Subscriber received : ' + event.data['orderId'], flush=True)
print('Subscriber received : %s' % event.data['orderId'], flush=True)
return json.dumps({'success': True}), 200, {
'ContentType': 'application/json'}