diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c694c30..002d3a63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +X.Y.Z Release notes +============================================================= +### Breaking changes +* None. + +### Enhancements +* None. + +### Bug fixes +* Fixed logout error due to fetch body not being stringified (#1731). + +### Internal +* None. + 2.3.4 Release notes (2018-4-12) ============================================================= ### Compatibility diff --git a/lib/user-methods.js b/lib/user-methods.js index 1eb4654c..a15e31ae 100644 --- a/lib/user-methods.js +++ b/lib/user-methods.js @@ -391,9 +391,9 @@ const instanceMethods = { const headers = { Authorization: this.token }; - const body = { + const body = JSON.stringify({ token: this.token - }; + }); const options = { method: 'POST', headers,