Spaces:
Sleeping
Sleeping
modified calender id
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def add_event_to_calendar(event_name: str, start: str, end: str) -> str:
|
|
24 |
# Service account configuration
|
25 |
SERVICE_ACCOUNT_FILE = "credentials.json" # Your service account JSON file
|
26 |
SCOPES = ["https://www.googleapis.com/auth/calendar"]
|
27 |
-
PERSONAL_EMAIL =
|
28 |
CALENDAR_ID = PERSONAL_EMAIL # Or your specific calendar ID
|
29 |
|
30 |
|
|
|
24 |
# Service account configuration
|
25 |
SERVICE_ACCOUNT_FILE = "credentials.json" # Your service account JSON file
|
26 |
SCOPES = ["https://www.googleapis.com/auth/calendar"]
|
27 |
+
PERSONAL_EMAIL = os.environ['PERSONAL_EMAIL']
|
28 |
CALENDAR_ID = PERSONAL_EMAIL # Or your specific calendar ID
|
29 |
|
30 |
|