We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7738c2c commit 43011b3Copy full SHA for 43011b3
backend/onyx/auth/users.py
@@ -306,7 +306,6 @@ async def create(
306
db_session, User, OAuthAccount
307
)
308
self.user_db = tenant_user_db
309
- self.database = tenant_user_db # is this even a real var?
310
311
if hasattr(user_create, "role"):
312
user_create.role = UserRole.BASIC
@@ -426,7 +425,6 @@ async def _inner(session: AsyncSession) -> User: # noqa: WPS430
426
425
427
# Point user manager at the session-bound DB instance
428
429
- self.database = tenant_user_db
430
431
oauth_account_dict = {
432
"oauth_name": oauth_name,
0 commit comments