Update doc for .uploadstream and .downloadstream
It seems that the documentation is not matching functions prototypes
This commit is contained in:
parent
21d6b0d60c
commit
7a0ff41ad1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue