Skip to content

Commit dbb47c2

Browse files
ezewerJacobPlaster
authored andcommitted
Add cust ip to token generation
1 parent ea8d322 commit dbb47c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/rest2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,9 +1265,9 @@ class RESTv2 {
12651265
* @param {Function} [cb] - callback
12661266
* @returns {Promise} p
12671267
*/
1268-
generateToken ({ ttl, scope, writePermission } = {}, cb) {
1268+
generateToken ({ ttl, scope, writePermission, _cust_ip } = {}, cb) {
12691269
return this._makeAuthRequest('/auth/w/token', {
1270-
ttl, scope, writePermission
1270+
ttl, scope, writePermission, _cust_ip
12711271
}, cb)
12721272
}
12731273

0 commit comments

Comments
 (0)