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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "os" | |
| "sort" | |
| "strconv" | |
| "strings" |
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 doPost(e) { | |
| // Daftar field yang ingin di-exclude (bisa ditaruh di atas sheet baris 1 kolom A misalnya "exclude: room_id, user id") | |
| let excludes = []; | |
| const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); | |
| const data = JSON.parse(e.postData.contents); | |
| const fields = data.fields; | |
| const author = data.author || {}; | |
| const roomInfo = data.room_info || {}; |
OlderNewer