mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
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...
This commit is contained in:
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 a new issue