@@ -23,7 +23,7 @@ export default class Client {
23
23
return this . post ( URL . push , {
24
24
messages : toArray ( messages ) ,
25
25
to,
26
- } ) /*.then(this.checkJSON)*/ ;
26
+ } ) ;
27
27
}
28
28
29
29
public replyMessage (
@@ -33,7 +33,7 @@ export default class Client {
33
33
return this . post ( URL . reply , {
34
34
messages : toArray ( messages ) ,
35
35
replyToken,
36
- } ) . then ( this . checkJSON ) ;
36
+ } ) ;
37
37
}
38
38
39
39
public multicast (
@@ -43,7 +43,7 @@ export default class Client {
43
43
return this . post ( URL . multicast , {
44
44
messages : toArray ( messages ) ,
45
45
to,
46
- } ) . then ( this . checkJSON ) ;
46
+ } ) ;
47
47
}
48
48
49
49
public getProfile ( userId : string ) : Promise < Types . Profile > {
@@ -103,11 +103,11 @@ export default class Client {
103
103
}
104
104
105
105
public leaveGroup ( groupId : string ) : Promise < any > {
106
- return this . post ( URL . leaveGroup ( groupId ) ) . then ( this . checkJSON ) ;
106
+ return this . post ( URL . leaveGroup ( groupId ) ) ;
107
107
}
108
108
109
109
public leaveRoom ( roomId : string ) : Promise < any > {
110
- return this . post ( URL . leaveRoom ( roomId ) ) . then ( this . checkJSON ) ;
110
+ return this . post ( URL . leaveRoom ( roomId ) ) ;
111
111
}
112
112
113
113
public getRichMenu (
0 commit comments