refactor: Remove redundant zone id cache for Cloudflare #371

Merged
NaiJi merged 2 commits from cloudflare-caching into master 2023-10-06 23:37:35 +03:00
Collaborator
There is no content yet.
NaiJi added the
Priority
Low
Refactor
Severity
Low
labels 2023-10-06 01:44:14 +03:00
NaiJi self-assigned this 2023-10-06 01:44:14 +03:00
NaiJi added 1 commit 2023-10-06 01:44:15 +03:00
NaiJi added 1 commit 2023-10-06 01:44:22 +03:00
NaiJi reviewed 2023-10-06 01:46:21 +03:00
@ -73,4 +72,0 @@
_adapter = ApiAdapter(
isWithToken: true,
cachedDomain: result.data[0].name,
cachedZoneId: result.data[0].id,
Poster
Collaborator

_adapter will receive cachedDomain and cachedZoneId from syncZoneId() anytime we call any method, so this hardcode is too much as we already have support for selection from several domains

`_adapter` will receive `cachedDomain` and `cachedZoneId` from `syncZoneId()` anytime we call any method, so this hardcode is too much as we already have support for selection from several domains
NaiJi requested review from inex 2023-10-06 01:46:30 +03:00
inex approved these changes 2023-10-06 22:32:32 +03:00
NaiJi merged commit 7a10d46f0f into master 2023-10-06 23:37:35 +03:00
NaiJi deleted branch cloudflare-caching 2023-10-06 23:37:35 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#371
There is no content yet.