Skip to content

Commit

Permalink
Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
rjambrecic committed Mar 7, 2024
1 parent 1d37c84 commit caa229b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captn/captn_agents/backend/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def ask_client_for_permission(
resource_details: str,
proposed_changes: str,
) -> Dict[str, Any]:
query = f"SELECT customer.descriptive_name FROM customer WHERE customer.id = '{customer_id}'"
query = f"SELECT customer.descriptive_name FROM customer WHERE customer.id = '{customer_id}'" # nosec: [B608]
query_result = execute_query(
user_id=user_id, conv_id=conv_id, customer_ids=[customer_id], query=query
)
Expand Down

0 comments on commit caa229b

Please sign in to comment.