From 7a0ff41ad173d425ba87e8c558ecbb3f2cee2d9a Mon Sep 17 00:00:00 2001 From: wolrajhti Date: Thu, 23 Aug 2018 08:35:30 +0200 Subject: [PATCH] Update doc for .uploadstream and .downloadstream It seems that the documentation is not matching functions prototypes --- lib/storage-service.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/storage-service.js b/lib/storage-service.js index 391a529..aae7d7f 100644 --- a/lib/storage-service.js +++ b/lib/storage-service.js @@ -132,8 +132,6 @@ StorageService.prototype.getContainer = function(container, cb) { * @param {String} container Container name * @param {String} file File name * @options {Object} [options] Options for uploading - * @callback callback Callback function - * @param {String|Object} err Error string or object * @returns {Stream} Stream for uploading */ StorageService.prototype.uploadStream = function(container, file, options) { @@ -156,8 +154,6 @@ StorageService.prototype.uploadStream = function(container, file, options) { * @param {String} container Container name. * @param {String} file File name. * @options {Object} options Options for downloading - * @callback {Function} callback Callback function - * @param {String|Object} err Error string or object * @returns {Stream} Stream for downloading */ StorageService.prototype.downloadStream = function(container, file, options) {