mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
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)
|
2.3.4 Release notes (2018-4-12)
|
||||||
=============================================================
|
=============================================================
|
||||||
### Compatibility
|
### Compatibility
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user