mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
refactor: Remove redundant zone id cache for Cloudflare
This commit is contained in:
parent
0537ebcfb2
commit
c2ae962322
|
@ -69,13 +69,6 @@ class CloudflareDnsProvider extends DnsProvider {
|
||||||
)
|
)
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
/// TODO: Remove when domain selection for more than one domain on account is implemented, move cachedZoneId writing to domain saving method
|
|
||||||
_adapter = ApiAdapter(
|
|
||||||
isWithToken: true,
|
|
||||||
cachedDomain: result.data[0].name,
|
|
||||||
cachedZoneId: result.data[0].id,
|
|
||||||
);
|
|
||||||
|
|
||||||
return GenericResult(
|
return GenericResult(
|
||||||
success: true,
|
success: true,
|
||||||
data: domains,
|
data: domains,
|
||||||
|
|
Loading…
Reference in a new issue