From d7318ed2e4433028fc471e018009989e185f349e Mon Sep 17 00:00:00 2001 From: NaiJi Date: Tue, 13 Dec 2022 08:15:32 +0400 Subject: [PATCH] fix: Make recovery by API token endpoint expect GraphQL token We pass GraphQL token, but at the same time we did not use it and tried to authorize without token... --- .../server_installation/server_installation_repository.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logic/cubit/server_installation/server_installation_repository.dart b/lib/logic/cubit/server_installation/server_installation_repository.dart index 05863b83..f1aeadf5 100644 --- a/lib/logic/cubit/server_installation/server_installation_repository.dart +++ b/lib/logic/cubit/server_installation/server_installation_repository.dart @@ -583,7 +583,7 @@ class ServerInstallationRepository { final ServerRecoveryCapabilities recoveryCapabilities, ) async { final ServerApi serverApi = ServerApi( - isWithToken: false, + isWithToken: true, overrideDomain: serverDomain.domainName, customToken: apiToken, );