Stringify fetch body in logout (#1731)
* Stringify fetch body in logout * Update changelog
This commit is contained in:
parent
533d567492
commit
424ff81965
14
CHANGELOG.md
14
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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue