]> git.cworth.org Git - turbot/commitdiff
I am not a fan of this api's documentation
authorjustin melvin <jmelvinprime@gmail.com>
Sat, 28 Nov 2020 04:59:24 +0000 (20:59 -0800)
committerjustin melvin <jmelvinprime@gmail.com>
Sat, 28 Nov 2020 04:59:24 +0000 (20:59 -0800)
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()