Skip to content

Commit

Permalink
Merge pull request #725 from matrix-org/dbkr/fix_sync_error_doc
Browse files Browse the repository at this point in the history
Fix docstring for sync data.error
  • Loading branch information
dbkr authored Sep 7, 2018
2 parents e358641 + 6b8dd42 commit 402f8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -3612,7 +3612,7 @@ module.exports.CRYPTO_ENABLED = CRYPTO_ENABLED;
*
* @param {?Object} data Data about this transition.
*
* @param {MatrixError} data.err The matrix error if <code>state=ERROR</code>.
* @param {MatrixError} data.error The matrix error if <code>state=ERROR</code>.
*
* @param {String} data.oldSyncToken The 'since' token passed to /sync.
* <code>null</code> for the first successful sync since this client was
Expand Down

0 comments on commit 402f8c2

Please sign in to comment.