From 60ea31f1ffee7e483b6cbd6e0abbc2452dd6925b Mon Sep 17 00:00:00 2001 From: haad Date: Sun, 17 Jan 2016 18:08:45 +0800 Subject: [PATCH] Fix missing password for channel deletion in HashCacheClient --- HashCacheClient.js | 1 + 1 file changed, 1 insertion(+) diff --git a/HashCacheClient.js b/HashCacheClient.js index d59d05c..05a9858 100644 --- a/HashCacheClient.js +++ b/HashCacheClient.js @@ -54,6 +54,7 @@ class HashCacheClient { request .delete(this.host + '/channel/' + hash) .set('Authorization', this.credentials) + .send({ password: password }) .end((err, res) => { this._resolveRequest(err, res, resolve, reject) }); }) }