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();