]> git.cworth.org Git - turbot/blobdiff - turbot/sheets.py
I am not a fan of this api's documentation
[turbot] / turbot / sheets.py
index 43b4f2931bf4b62b8308fa849eefc29fed305a57..434665ef448cd21b4b74e1b90e7d2843c7202acf 100644 (file)
@@ -84,7 +84,7 @@ def renameSheet(turb, url, newName):
     turb.sheets.batchUpdate(body={
                                 "updateSheetProperties": {
                                     "properties": {
-                                        "sheetId": id,
+                                        "spreadsheetId": id,
                                         "title": newName
                                     }
                                 }}).execute()