Skip to content

Commit

Permalink
chore(proxysql): handle nullable max_connections data in request
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Nov 29, 2024
1 parent 4f3cc90 commit 65f4a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def proxysql_add_user():
data["password"],
data["database"],
data["backend"],
max_connections=data["max_connections"],
max_connections=data.get("max_connections"),
)
return {"job": job}

Expand Down

0 comments on commit 65f4a04

Please sign in to comment.