From 646dfcf807f375b7f000ede71af09e4fbad5d942 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 9 Oct 2019 11:16:26 +0000 Subject: [PATCH] [Logout] Fix wrong endpoint --- lib/src/Client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Client.dart b/lib/src/Client.dart index d3e253a..b0f4b7e 100644 --- a/lib/src/Client.dart +++ b/lib/src/Client.dart @@ -254,7 +254,7 @@ class Client { /// including all persistent data from the store. Future 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();