Skip to content

Commit

Permalink
fix: correct Dialyzer issue as db_name cannot be nil (#566)
Browse files Browse the repository at this point in the history
It is previously checked and set to non-`nil` value.
  • Loading branch information
hauleth authored Jan 21, 2025
1 parent 368d9fc commit a14b2af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.19
2.0.20
2 changes: 0 additions & 2 deletions lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,6 @@ defmodule Supavisor.ClientHandler do
do: :password,
else: :auth_query

db_name = db_name || info.tenant.db_database

auth = %{
application_name: data[:app_name] || "Supavisor",
database: db_name,
Expand Down

0 comments on commit a14b2af

Please sign in to comment.