Skip to content

Commit 9509bc6

Browse files
authored
fix: use direct DbHost from response in branches get (#3056)
1 parent 38a8816 commit 9509bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/branches/get/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func Run(ctx context.Context, branchId string, fsys afero.Fs) error {
3434
}
3535

3636
config := pgconn.Config{
37-
Host: utils.GetSupabaseDbHost(resp.JSON200.DbHost),
37+
Host: resp.JSON200.DbHost,
3838
Port: cast.UIntToUInt16(cast.IntToUint(resp.JSON200.DbPort)),
3939
User: *resp.JSON200.DbUser,
4040
Password: *resp.JSON200.DbPass,

0 commit comments

Comments
 (0)