Skip to content

Commit

Permalink
Merge pull request #23 from zebulonj/fix/connection-string
Browse files Browse the repository at this point in the history
Connection String Generation
  • Loading branch information
jonico authored Dec 1, 2022
2 parents 4ceba75 + e29cf18 commit c639c85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function create-branch-connection-string {
exit 1
fi

local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .id + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""`
local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .username + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""`
local GENERAL_CONNECTION_STRING=`echo "$raw_output" | jq -r ". | .connection_strings.general"`

read -r -d '' SECRET_TEXT <<EOF
Expand Down

0 comments on commit c639c85

Please sign in to comment.