Merge pull request 'refactor: Remove redundant zone id cache for Cloudflare' (#371) from cloudflare-caching into master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #371 Reviewed-by: Inex Code <inex.code@selfprivacy.org>pull/372/head
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 New Issue