Skip to content

Commit

Permalink
Fix broken sample app/e2e tests for postgres-xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Aug 23, 2024
1 parent e6483b3 commit cbf4664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample-apps/flask-postgres-xml/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def post_xml():
return f'Dogs created successfully'

@app.route("/xml_post_lxml", methods=['POST'])
def post_xml():
def post_xml_lxml():
raw_xml = request.data.decode('utf-8')
root = ET2.fromstring(raw_xml)
conn = get_db_connection()
Expand Down

0 comments on commit cbf4664

Please sign in to comment.