Skip to content

Commit b196282

Browse files
committed
disabled query in transactions
1 parent 018fb9f commit b196282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ def get_transaction_history(account_number):
501501
'amount': float(t[3]),
502502
'timestamp': str(t[4]),
503503
'type': t[5],
504-
'description': t[6],
505-
'query_used': query # Vulnerability: Exposing SQL query
504+
'description': t[6]
505+
#'query_used': query # Vulnerability: Exposing SQL query
506506
} for t in transactions]
507507

508508
return jsonify({

0 commit comments

Comments
 (0)