From c54ba4c5ab29b6abfce8e674cdc62d8a87452757 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 20 Aug 2017 14:35:42 -0700 Subject: [PATCH] http/client: lint. --- lib/http/client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/http/client.js b/lib/http/client.js index 43973ec3..b9e1ac2a 100644 --- a/lib/http/client.js +++ b/lib/http/client.js @@ -6,6 +6,7 @@ */ 'use strict'; + const assert = require('assert'); const Network = require('../protocol/network'); const AsyncObject = require('../utils/asyncobject'); @@ -493,7 +494,7 @@ HTTPClient.prototype.getWallets = function getWallets() { */ 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); };