Spaces:
Runtime error
Runtime error
Update core/database.py
Browse files- core/database.py +1 -1
core/database.py
CHANGED
|
@@ -383,4 +383,4 @@ def save_user_context(user_id: int, context: dict):
|
|
| 383 |
updated_at = excluded.updated_at
|
| 384 |
""", (user_id, json.dumps(context)))
|
| 385 |
conn.commit()
|
| 386 |
-
conn.close()
|
|
|
|
| 383 |
updated_at = excluded.updated_at
|
| 384 |
""", (user_id, json.dumps(context)))
|
| 385 |
conn.commit()
|
| 386 |
+
conn.close()
|