Skip to content

Commit 50b0678

Browse files
author
Sebastian Kippe
committed
Fix return value for storeFile doc
It's not actually an object, but the ETag as a string, as obvious from the code directly in this function.
1 parent edff0ac commit 50b0678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/baseclient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ BaseClient.prototype = {
167167
* @param {string} path - Path relative to the module root
168168
* @param {string|ArrayBuffer|ArrayBufferView} body - Raw data to store
169169
*
170-
* @returns {Promise} A promise for an object
170+
* @returns {Promise} A promise for the created/updated revision (ETag)
171171
*/
172172
storeFile: function (mimeType, path, body) {
173173
if (typeof(mimeType) !== 'string') {

0 commit comments

Comments
 (0)