Skip to content

Commit 1456df0

Browse files
authored
Merge pull request #1123 from remotestorage/docs/correct_return_storefile
Fix return value for storeFile doc
2 parents edff0ac + 50b0678 commit 1456df0

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)