Skip to content

Commit efdeaef

Browse files
committed
fix: set ssl to false
Breaking change from pg
1 parent 500b034 commit efdeaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/connectionPool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pg.types.setTypeParser(20, 'text', parseInt)
77
const { Pool } = pg
88

99
export const RunQuery = async (connectionString: any, sql: string | SQLStatement) => {
10-
const pool = new Pool({ connectionString })
10+
const pool = new Pool({ connectionString, ssl: false })
1111
try {
1212
const results = await pool.query(sql)
1313
return { data: results.rows, error: null }

0 commit comments

Comments
 (0)