constant fix
This commit is contained in:
parent
f648a804a6
commit
d331c6e055
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -203,7 +203,7 @@ async function main() {
|
||||||
|
|
||||||
// Update column B with group names
|
// Update column B with group names
|
||||||
if (groupNames.length > 0) {
|
if (groupNames.length > 0) {
|
||||||
const columnBRange = `B2:B${groupNames.length + 1}`; // B2 to B(2+count-1)
|
const columnBRange = `B3:B${groupNames.length + 1}`; // B2 to B(2+count-1)
|
||||||
await updateSheetData(SPREADSHEET_ID, columnBRange, groupNames);
|
await updateSheetData(SPREADSHEET_ID, columnBRange, groupNames);
|
||||||
console.log(`Updated column B with ${groupNames.length} group names`);
|
console.log(`Updated column B with ${groupNames.length} group names`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue