Spaces:
Running
Running
Update subscriptions.py
Browse files- subscriptions.py +1 -1
subscriptions.py
CHANGED
|
@@ -19,7 +19,7 @@ async def get_conn():
|
|
| 19 |
global conn
|
| 20 |
|
| 21 |
if conn is None or conn.closed:
|
| 22 |
-
conn = psycopg.connect(POSTGRE_SECRET, row_factory=dict_row)
|
| 23 |
|
| 24 |
return conn
|
| 25 |
|
|
|
|
| 19 |
global conn
|
| 20 |
|
| 21 |
if conn is None or conn.closed:
|
| 22 |
+
conn = psycopg.connect(POSTGRE_SECRET, row_factory=dict_row, sslmode="verify-full", sslrootcert="prod-ca-2021.crt")
|
| 23 |
|
| 24 |
return conn
|
| 25 |
|