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...
pull/151/head
NaiJi ✨ 2022-12-13 08:15:32 +04:00
parent 51ca8bce27
commit d7318ed2e4
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class ServerInstallationRepository {
final ServerRecoveryCapabilities recoveryCapabilities,
) async {
final ServerApi serverApi = ServerApi(
isWithToken: false,
isWithToken: true,
overrideDomain: serverDomain.domainName,
customToken: apiToken,
);