Update run.py
Browse files
run.py
CHANGED
@@ -11,11 +11,12 @@ from google.oauth2 import service_account
|
|
11 |
# Google Sheets setup
|
12 |
scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
|
13 |
key1 = os.getenv("key1")
|
|
|
14 |
json_data={
|
15 |
"type": "service_account",
|
16 |
"project_id": "nestolechatbot",
|
17 |
"private_key_id": key1,
|
18 |
-
"private_key":
|
19 |
"client_email": "[email protected]",
|
20 |
"client_id": "107457262210035412036",
|
21 |
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
|
|
11 |
# Google Sheets setup
|
12 |
scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
|
13 |
key1 = os.getenv("key1")
|
14 |
+
key2= os.getenv("key2")
|
15 |
json_data={
|
16 |
"type": "service_account",
|
17 |
"project_id": "nestolechatbot",
|
18 |
"private_key_id": key1,
|
19 |
+
"private_key": key2,
|
20 |
"client_email": "[email protected]",
|
21 |
"client_id": "107457262210035412036",
|
22 |
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|