@@ -49,12 +49,12 @@ class Hermes extends Request {
49
49
return this . send ( 'POST' , path , { query } ) ;
50
50
}
51
51
52
- /**
52
+ /**
53
53
* @param {Object } payload Hermes payload to send
54
54
* @param {string } payload.type Type: 'accountId', 'applicationId', 'recipient'
55
55
* @param {string } payload.value either one from: user account id, application id, or recipient: email/phone
56
56
*/
57
- createBlacklist ( payload ) {
57
+ createBlacklist ( payload ) {
58
58
const path = `/blacklist` ;
59
59
return this . send ( 'POST' , path , { payload } ) ;
60
60
}
@@ -67,7 +67,7 @@ class Hermes extends Request {
67
67
* @param {string } payload.params.query.type 'accountId', 'applicationId', 'recipient'
68
68
* @param {string } payload.params.query.value either one from: user account id, application id, or recipient: email/phone
69
69
*/
70
- getBlacklistEntries ( params ) {
70
+ getBlacklistEntries ( params ) {
71
71
const path = `/blacklist/entries` ;
72
72
return this . send ( 'GET' , path , params ) ;
73
73
}
@@ -77,7 +77,7 @@ class Hermes extends Request {
77
77
*
78
78
* @param {string } id
79
79
*/
80
- deleteBlacklistEntry ( id ) {
80
+ deleteBlacklistEntry ( id ) {
81
81
const path = `/blacklist/${ id } ` ;
82
82
return this . send ( 'DELETE' , path ) ;
83
83
}
0 commit comments