From c7d60e502975dd443a8105414b82bfc4b1230ece Mon Sep 17 00:00:00 2001 From: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:29:31 +0530 Subject: [PATCH] fix: Minor account v2 related fixed to run in OSS (#785) Minor account v2 related fixed to run in OSS Co-authored-by: ali <117142933+muhammad-ali-e@users.noreply.github.com> Co-authored-by: vishnuszipstack <117254672+vishnuszipstack@users.noreply.github.com> --- .gitignore | 12 +++++++++++- backend/account_v2/authentication_service.py | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5ab655842..9128508d7 100644 --- a/.gitignore +++ b/.gitignore @@ -134,7 +134,8 @@ celerybeat.pid # Environments test*.env -.env +*.env +!sample.env .env.export .venv* env/ @@ -603,6 +604,7 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk + ### Unstract ### # Authentication Plugins @@ -653,3 +655,11 @@ unstract/unstract-sdk/ # Backend requirements.txt backend/requirements.txt + +# Backend URLs +backend/backend/*_urls.py +!backend/backend/base_urls.py +!backend/backend/public_urls.py +# TODO: Remove after v2 migration is completed +backend/backend/*_urls_v2.py +!backend/backend/public_urls_v2.py diff --git a/backend/account_v2/authentication_service.py b/backend/account_v2/authentication_service.py index 273ce4fdb..59be49c44 100644 --- a/backend/account_v2/authentication_service.py +++ b/backend/account_v2/authentication_service.py @@ -165,7 +165,6 @@ def user_organization(self) -> Organization: name=DefaultOrg.ORGANIZATION_NAME, display_name=DefaultOrg.ORGANIZATION_NAME, organization_id=DefaultOrg.ORGANIZATION_NAME, - schema_name=DefaultOrg.ORGANIZATION_NAME, ) def handle_invited_user_while_callback(