http/client: lint.
This commit is contained in:
parent
6c8c18f2a0
commit
c54ba4c5ab
@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const Network = require('../protocol/network');
|
const Network = require('../protocol/network');
|
||||||
const AsyncObject = require('../utils/asyncobject');
|
const AsyncObject = require('../utils/asyncobject');
|
||||||
@ -493,7 +494,7 @@ HTTPClient.prototype.getWallets = function getWallets() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
HTTPClient.prototype.createWallet = function createWallet(options) {
|
HTTPClient.prototype.createWallet = function createWallet(options) {
|
||||||
assert(options.id, 'Must pass an id parameter')
|
assert(options.id, 'Must pass an id parameter');
|
||||||
return this._put(`/wallet/${options.id}`, options);
|
return this._put(`/wallet/${options.id}`, options);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user