Fix: Database connection recreated on Login and Logout callbacks to prevent error due to previous session closing.

This commit is contained in:
2024-10-29 22:05:44 +00:00
parent 03fc1bd421
commit 373ed9cebf

View File

@@ -32,7 +32,7 @@ from pydantic import BaseModel, ConfigDict
from typing import ClassVar
from datetime import datetime
# db = SQLAlchemy()
db = SQLAlchemy()
class DataStore_User(DataStore_Base):