Feat/multiple sites (#12)

* adding multiple search sites

* updating docs and postman

* threading per scraper type
This commit is contained in:
mlnl
2023-08-26 12:28:02 -07:00
committed by GitHub
parent d67383f053
commit 4d04bb63e2
6 changed files with 34 additions and 11 deletions

View File

@@ -8,7 +8,8 @@ from api.core.users import UserInDB
from settings import SUPABASE_URL, SUPABASE_KEY
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
supabase: Client = create_client(SUPABASE_URL, SUPABASE_KEY)
if SUPABASE_URL:
supabase: Client = create_client(SUPABASE_URL, SUPABASE_KEY)
def create_user(user_create: UserInDB):