Spaces:
Running
Running
Commit
·
ed93db5
1
Parent(s):
6937915
updated g-cal
Browse files- backend/api.py +1 -1
- backend/g_cal.py +1 -1
backend/api.py
CHANGED
|
@@ -27,7 +27,7 @@ from .agent import app as lg_app
|
|
| 27 |
|
| 28 |
api = FastAPI(title="LangGraph Chat API")
|
| 29 |
|
| 30 |
-
SCOPES = ["https://www.googleapis.com/auth/calendar.events
|
| 31 |
CLIENT_ID = os.getenv("GOOGLE_CLIENT_ID")
|
| 32 |
CLIENT_SECRET = os.getenv("GOOGLE_CLIENT_SECRET")
|
| 33 |
BASE_URL_RAW = os.getenv("PUBLIC_BASE_URL", "http://localhost:8000")
|
|
|
|
| 27 |
|
| 28 |
api = FastAPI(title="LangGraph Chat API")
|
| 29 |
|
| 30 |
+
SCOPES = ["https://www.googleapis.com/auth/calendar.events"]
|
| 31 |
CLIENT_ID = os.getenv("GOOGLE_CLIENT_ID")
|
| 32 |
CLIENT_SECRET = os.getenv("GOOGLE_CLIENT_SECRET")
|
| 33 |
BASE_URL_RAW = os.getenv("PUBLIC_BASE_URL", "http://localhost:8000")
|
backend/g_cal.py
CHANGED
|
@@ -5,7 +5,7 @@ from googleapiclient.discovery import build
|
|
| 5 |
|
| 6 |
log = logging.getLogger("g_cal")
|
| 7 |
|
| 8 |
-
SCOPES = ["https://www.googleapis.com/auth/calendar.events
|
| 9 |
TOKEN_FILE = Path(os.getenv("GCAL_TOKEN_PATH", "/data/google_token.json"))
|
| 10 |
|
| 11 |
def get_gcal_service():
|
|
|
|
| 5 |
|
| 6 |
log = logging.getLogger("g_cal")
|
| 7 |
|
| 8 |
+
SCOPES = ["https://www.googleapis.com/auth/calendar.events"]
|
| 9 |
TOKEN_FILE = Path(os.getenv("GCAL_TOKEN_PATH", "/data/google_token.json"))
|
| 10 |
|
| 11 |
def get_gcal_service():
|