Skip to content

Commit 03c6268

Browse files
authored
Update spreadsheet_snippets.gs
1 parent d1241cc commit 03c6268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sheets/api/spreadsheet_snippets.gs

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Snippets.prototype.appendValues = function(spreadsheetId, range,
154154

155155
Snippets.prototype.pivotTable = function(spreadsheetId) {
156156
var spreadsheet = SpreadsheetApp.openById(spreadsheetId);
157-
// [START sheets_pivot_table]
157+
// [START sheets_pivot_tables]
158158
// Create two sheets for our pivot table, assume we have one.
159159
var sheet = spreadsheet.getSheets()[0];
160160
sheet.copyTo(spreadsheet);
@@ -213,7 +213,7 @@ Snippets.prototype.pivotTable = function(spreadsheetId) {
213213
updateCellsRawRequest.updateCells = updateCellsRequest;
214214
batchUpdate.requests = [updateCellsRawRequest];
215215
var response = Sheets.Spreadsheets.batchUpdate(batchUpdate, spreadsheetId);
216-
// [END sheets_pivot_table]
216+
// [END sheets_pivot_tables]
217217
return response;
218218
};
219219

0 commit comments

Comments
 (0)