回答編集履歴

2

不要なコード削除

2017/02/13 07:53

投稿

turbgraphics200
turbgraphics200

スコア4267

test CHANGED
@@ -88,8 +88,6 @@
88
88
 
89
89
  return new Promise(function (resolve) {
90
90
 
91
- console.log('p');
92
-
93
91
  var slack = new Slack(apiToken);
94
92
 
95
93
  slack.api("team.info", function (err, response) {

1

かっこが足りなかった

2017/02/13 07:53

投稿

turbgraphics200
turbgraphics200

スコア4267

test CHANGED
@@ -60,7 +60,7 @@
60
60
 
61
61
  ```js
62
62
 
63
- getTeamInfo('<token1>').then(getTeamInfo('<token2>').then(() => console.log(jsonTerm));
63
+ getTeamInfo('<token1>').then(getTeamInfo('<token2>')).then(() => console.log(jsonTerm));
64
64
 
65
65
  ```
66
66