Fix typo in db error message (#9612)

This commit is contained in:
mStenz
2024-11-21 14:48:22 +01:00
committed by GitHub
parent da7a078a7d
commit 25d1dfdea5
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ describe("handlePostgresDataError", function () {
- You have a PostgreSQL database running
- You have passed the correct credentials in medusa-config.js
- You have formatted the database connection string correctly. See below:
"postgres://[username]:[password]@[host]:[post]/[db_name]" - If there is no password, you can omit it from the connection string
"postgres://[username]:[password]@[host]:[port]/[db_name]" - If there is no password, you can omit it from the connection string
${EOL}
${error.message}`
)

View File

@@ -21,7 +21,7 @@ export function handlePostgresDatabaseError(err: any): never {
- You have a PostgreSQL database running
- You have passed the correct credentials in medusa-config.js
- You have formatted the database connection string correctly. See below:
"postgres://[username]:[password]@[host]:[post]/[db_name]" - If there is no password, you can omit it from the connection string
"postgres://[username]:[password]@[host]:[port]/[db_name]" - If there is no password, you can omit it from the connection string
${EOL}
${err.message}`
)