refactor: Remove mentions of cloudflare from general variables

pull/323/head
NaiJi ✨ 2023-09-05 08:45:09 -03:00
parent 645d58d513
commit 85abd8f0fc
2 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ class ServerInstallationRepository {
RecoveryStep _getCurrentRecoveryStep( RecoveryStep _getCurrentRecoveryStep(
final String? serverProviderToken, final String? serverProviderToken,
final String? cloudflareToken, final String? dnsProviderToken,
final ServerDomain serverDomain, final ServerDomain serverDomain,
final ServerHostingDetails? serverDetails, final ServerHostingDetails? serverDetails,
) { ) {
@ -235,7 +235,7 @@ class ServerInstallationRepository {
return matches; return matches;
} }
Future<void> createDkimRecord(final ServerDomain cloudFlareDomain) async { Future<void> createDkimRecord(final ServerDomain domain) async {
final ServerApi api = ServerApi(); final ServerApi api = ServerApi();
late DnsRecord record; late DnsRecord record;
@ -248,7 +248,7 @@ class ServerInstallationRepository {
await ProvidersController.currentDnsProvider!.setDnsRecord( await ProvidersController.currentDnsProvider!.setDnsRecord(
record, record,
cloudFlareDomain, domain,
); );
} }

View File

@ -99,7 +99,7 @@ class InitializingPage extends StatelessWidget {
steps: const [ steps: const [
'Hosting', 'Hosting',
'Server Type', 'Server Type',
'CloudFlare', 'DNS Provider',
'Backblaze', 'Backblaze',
'Domain', 'Domain',
'User', 'User',