Skip to content

Commit 352d0a2

Browse files
v2.23
1 parent 62ce095 commit 352d0a2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

order-service/app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def send_message():
2424
return jsonify({'message_id': response['MessageId']}), 200
2525
except Exception as e:
2626
return jsonify({'error': str(e)}), 500
27-
def health():
28-
return "Product service healthy", 200
27+
@app.route('/health', methods=['GET'])
28+
def health_check():
29+
return 'OK', 200
2930

0 commit comments

Comments
 (0)