質問編集履歴

1

2019/12/06 10:40

投稿

goepi
goepi

スコア5

title CHANGED
File without changes
body CHANGED
@@ -31,12 +31,12 @@
31
31
  ** textをslackに通知する
32
32
  */
33
33
  function postSlack(text){
34
- var url = "https://hooks.slack.com/services/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" ;
34
+ var url = "https://hooksxxxxxxxxxxxx" ;
35
35
  var options = {
36
36
  "method" : "POST",
37
37
  "headers": {"Content-type": "application/json"},
38
38
  "payload" : JSON.stringify({
39
- "channel" : "#cr-furukawa_team",
39
+ "channel" : "#チャンネル名",
40
40
  "text" : text,
41
41
  })
42
42
  };
@@ -72,7 +72,7 @@
72
72
  "動画本数:" + notifySheet.getRange("G" + rowNum).getValue() + "\n" +
73
73
  "ステータス:" + notifySheet.getRange("I" + rowNum).getValue() + "\n" +
74
74
  "BOX URL:" + notifySheet.getRange("H" + rowNum).getValue() + "\n" +
75
- "SS URL" + "https://docs.google.com/spreadsheets/d/1JnhKxxqPFZw9Ut916JSC8dyL30emVOnZ1xiJJeeHDTU/edit";
75
+ "SS URL" + "https xxxxxxxxxxxx";
76
76
   }
77
77
  }
78
78
  ```