Spaces:
Build error
Build error
Update backend/backend.py
Browse files- backend/backend.py +1 -1
backend/backend.py
CHANGED
|
@@ -7,7 +7,7 @@ from oauth2client.service_account import ServiceAccountCredentials
|
|
| 7 |
|
| 8 |
class Backend:
|
| 9 |
def __init__(self, sheet_name: str, credentials: str):
|
| 10 |
-
creds_dict = json.
|
| 11 |
scope = [
|
| 12 |
"https://spreadsheets.google.com/feeds",
|
| 13 |
"https://www.googleapis.com/auth/drive",
|
|
|
|
| 7 |
|
| 8 |
class Backend:
|
| 9 |
def __init__(self, sheet_name: str, credentials: str):
|
| 10 |
+
creds_dict = json.loads(credentials)
|
| 11 |
scope = [
|
| 12 |
"https://spreadsheets.google.com/feeds",
|
| 13 |
"https://www.googleapis.com/auth/drive",
|