mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-07 00:24:18 +00:00
Merge pull request 'refactor: Remove redundant zone id cache for Cloudflare' (#371) from cloudflare-caching into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/371 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
7a10d46f0f
|
@ -69,13 +69,6 @@ class CloudflareDnsProvider extends DnsProvider {
|
|||
)
|
||||
.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(
|
||||
success: true,
|
||||
data: domains,
|
||||
|
|
Loading…
Reference in a new issue