Skip to content

Commit 3b64a38

Browse files
committed
Update
1 parent b8ea499 commit 3b64a38

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Code.gs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**------------------------------------------- Function is runed when get HTTP GET request -------------------------------------------**/
1+
/**------------------------------------------ Function is runed when HTTP GET request occur ------------------------------------------**/
22
function doGet(e) {
33
var message;
44
var date = new Date();

FileTools.gs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ var FileTools = class FileTools {
4040

4141
// Check sheet name
4242
var spreadsheet = SpreadsheetApp.openByUrl(spreadsheetUrl);
43-
var activeSheet = spreadsheet.getSheets();
43+
var activeSheetList = spreadsheet.getSheets();
4444

45-
if (activeSheet.every(sheet => sheet.getName() != sheetName)) {
45+
if (activeSheetList.every(sheet => sheet.getName() != sheetName)) {
4646
// Create a new sheet (For a new day)
4747
spreadsheet.insertSheet(sheetName);
4848

0 commit comments

Comments
 (0)