Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,13 +39,13 @@ from dotenv import load_dotenv
|
|
39 |
from auth import (
|
40 |
User, UserCreate, Token, get_current_active_user, authenticate_user,
|
41 |
create_access_token, hash_password, register_user, check_subscription_access,
|
42 |
-
SUBSCRIPTION_TIERS, JWT_EXPIRATION_DELTA, get_db_connection, update_auth_db_schema
|
43 |
|
44 |
)
|
45 |
# Add this import near the top with your other imports
|
46 |
from paypal_integration import (
|
47 |
create_user_subscription, verify_subscription_payment,
|
48 |
-
update_user_subscription, handle_subscription_webhook, initialize_database
|
49 |
)
|
50 |
from fastapi import Request # Add this if not already imported
|
51 |
|
|
|
39 |
from auth import (
|
40 |
User, UserCreate, Token, get_current_active_user, authenticate_user,
|
41 |
create_access_token, hash_password, register_user, check_subscription_access,
|
42 |
+
SUBSCRIPTION_TIERS, JWT_EXPIRATION_DELTA, get_db_connection, update_auth_db_schema
|
43 |
|
44 |
)
|
45 |
# Add this import near the top with your other imports
|
46 |
from paypal_integration import (
|
47 |
create_user_subscription, verify_subscription_payment,
|
48 |
+
update_user_subscription, handle_subscription_webhook, initialize_database, , get_subscription_plans
|
49 |
)
|
50 |
from fastapi import Request # Add this if not already imported
|
51 |
|