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
parent
51ca8bce27
commit
d7318ed2e4
|
@ -583,7 +583,7 @@ class ServerInstallationRepository {
|
||||||
final ServerRecoveryCapabilities recoveryCapabilities,
|
final ServerRecoveryCapabilities recoveryCapabilities,
|
||||||
) async {
|
) async {
|
||||||
final ServerApi serverApi = ServerApi(
|
final ServerApi serverApi = ServerApi(
|
||||||
isWithToken: false,
|
isWithToken: true,
|
||||||
overrideDomain: serverDomain.domainName,
|
overrideDomain: serverDomain.domainName,
|
||||||
customToken: apiToken,
|
customToken: apiToken,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue