Skip to content

Commit

Permalink
fix: malformed psql command in docs (#356)
Browse files Browse the repository at this point in the history
Before:
```
psql "postgresql://generated_user:generated_passwd@core_user:core_password@postgres:54321/electric"
```

After:
```
psql "postgresql://generated_user:generated_passwd@postgres:54321/electric"
```
icehaunter authored Aug 23, 2023
1 parent c30483f commit 0cc9923
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -64,6 +64,7 @@ const PSQLCommand = () => {
}

const [protocol, remainder] = DATABASE_URL.split('://')
const [_loginPassword, hostPortDb] = remainder.split('@')
const { userId, password } = userCreds

const parts = [
@@ -73,7 +74,7 @@ const PSQLCommand = () => {
':',
password,
'@',
remainder
hostPortDb
]

return (

0 comments on commit 0cc9923

Please sign in to comment.