From e29cf182131eb29d219032d22a50bcffd566be43 Mon Sep 17 00:00:00 2001 From: Zebulon Young Date: Wed, 30 Nov 2022 20:05:04 -0800 Subject: [PATCH] fix: connection string --- .pscale/cli-helper-scripts/create-branch-connection-string.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pscale/cli-helper-scripts/create-branch-connection-string.sh b/.pscale/cli-helper-scripts/create-branch-connection-string.sh index 65ba077..559ab0d 100755 --- a/.pscale/cli-helper-scripts/create-branch-connection-string.sh +++ b/.pscale/cli-helper-scripts/create-branch-connection-string.sh @@ -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 <