Stringify fetch body in logout (#1731)

* Stringify fetch body in logout
* Update changelog
This commit is contained in:
Brian Nicholson 2018-04-17 07:01:02 -06:00 committed by Kenneth Geisshirt
parent 533d567492
commit 424ff81965
2 changed files with 16 additions and 2 deletions

View File

@ -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) 2.3.4 Release notes (2018-4-12)
============================================================= =============================================================
### Compatibility ### Compatibility

View File

@ -391,9 +391,9 @@ const instanceMethods = {
const headers = { const headers = {
Authorization: this.token Authorization: this.token
}; };
const body = { const body = JSON.stringify({
token: this.token token: this.token
}; });
const options = { const options = {
method: 'POST', method: 'POST',
headers, headers,