update,
This commit is contained in:
14
catmk2/task1/utils/getSheetStudentProgress.js
Normal file
14
catmk2/task1/utils/getSheetStudentProgress.js
Normal file
@@ -0,0 +1,14 @@
|
||||
function getSheetStudentProgress() {
|
||||
output = {state:'init', debug:{}, error:{}}
|
||||
|
||||
try {
|
||||
var sheet = SpreadsheetApp.openById(SHEET_ID).getSheetByName(
|
||||
SHEET_STUDENT_PROGRESS
|
||||
);
|
||||
return sheet;
|
||||
} catch (error) {
|
||||
output = {...output, error}
|
||||
console.log("getSheetStudentProgress error")
|
||||
console.log(output);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user