This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addUser(userId) { | |
remindSheet.appendRow([userId]); | |
} | |
function deleteRowAt(index) { | |
remindSheet.deleteRow(index); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pushMsg(message, usrId) { | |
var opt = { | |
'headers': { | |
'Content-Type': 'application/json; charset=UTF-8', | |
'Authorization': 'Bearer ' + channelToken, | |
}, | |
'method': 'post', | |
'payload': JSON.stringify({ | |
'to': usrId, | |
'messages': [{'type': 'text', 'text': message}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendReminder() { | |
console.log(checkDay()); | |
if (checkDay() == false) { // weekend | |
return; | |
} | |
var lastRow = remindSheet.getLastRow(); | |
if (lastRow > 0) { | |
var ids = remindSheet.getSheetValues(1,1,lastRow,1); | |
for(var i = 0; i < lastRow; i++){ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ReactComponent as Filter } from './filter.svg'; | |
import { ReactComponent as Folder } from './folder.svg'; | |
import { ReactComponent as Grade } from './grade.svg'; | |
export default { | |
Filter, | |
Folder, | |
Grade, | |
}; |