Skip to content

Commit 64cbac5

Browse files
committed
merge-cells update
1 parent 8b35e32 commit 64cbac5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

components/google_sheets/actions/add-protected-range/add-protected-range.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export default {
104104
],
105105
},
106106
};
107+
const response = await this.googleSheets.batchUpdate(request);
107108
$.export("$summary", "Successfully added protected range.");
108-
return await this.googleSheets.batchUpdate(request);
109+
return response;
109110
},
110111
};

components/google_sheets/actions/delete-conditional-format-rule/delete-conditional-format-rule.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ export default {
5757
],
5858
},
5959
};
60+
const response = await this.googleSheets.batchUpdate(request);
6061
$.export("$summary", "Successfully deleted conditional format rule.");
61-
return await this.googleSheets.batchUpdate(request);
62+
return response;
6263
},
6364
};

components/google_sheets/actions/merge-cells/merge-cells.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default {
6969
requestBody: {
7070
requests: [
7171
{
72-
mergeCellsRequest: {
72+
mergeCells: {
7373
range: {
7474
sheetId: this.worksheetId,
7575
startRowIndex: startRow,
@@ -83,7 +83,8 @@ export default {
8383
],
8484
},
8585
};
86+
const response = await this.googleSheets.batchUpdate(request);
8687
$.export("$summary", "Successfully merged cells.");
87-
return await this.googleSheets.batchUpdate(request);
88+
return response;
8889
},
8990
};

0 commit comments

Comments
 (0)