Merge branch 'logout-fix-logout-all' into 'master'
[Logout] Fix wrong endpoint See merge request famedly/famedlysdk!96
This commit is contained in:
commit
2d2a02f52b
|
@ -254,7 +254,7 @@ class Client {
|
|||
/// including all persistent data from the store.
|
||||
Future<void> logout() async {
|
||||
final dynamic resp = await connection.jsonRequest(
|
||||
type: HTTPType.POST, action: "/client/r0/logout/all");
|
||||
type: HTTPType.POST, action: "/client/r0/logout");
|
||||
if (resp is ErrorResponse) connection.onError.add(resp);
|
||||
|
||||
await connection.clear();
|
||||
|
|
Loading…
Reference in a new issue