fix(recovery): Fix custom api token on recovering provider type

pull/140/head
NaiJi ✨ 2022-11-18 05:19:54 +04:00
parent 611fe6bf45
commit 268816385f
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ class ServerInstallationCubit extends Cubit<ServerInstallationState> {
dataState.recoveryCapabilities,
);
final ServerProvider provider = await ServerApi(
customToken: token,
customToken: serverDetails.apiToken,
isWithToken: true,
).getServerProviderType();
if (provider == ServerProvider.unknown) {