mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-11 18:39:45 +00:00
fix: typo in provider constructors.
Changed `isAuthotized` to `isAuthorized`.
This commit is contained in:
parent
32769c9d9f
commit
06513b6fa6
|
@ -27,9 +27,9 @@ class ApiAdapter {
|
|||
class CloudflareDnsProvider extends DnsProvider {
|
||||
CloudflareDnsProvider() : _adapter = ApiAdapter();
|
||||
CloudflareDnsProvider.load(
|
||||
final bool isAuthotized,
|
||||
final bool isAuthorized,
|
||||
) : _adapter = ApiAdapter(
|
||||
isWithToken: isAuthotized,
|
||||
isWithToken: isAuthorized,
|
||||
);
|
||||
|
||||
ApiAdapter _adapter;
|
||||
|
|
|
@ -22,9 +22,9 @@ class ApiAdapter {
|
|||
class DesecDnsProvider extends DnsProvider {
|
||||
DesecDnsProvider() : _adapter = ApiAdapter();
|
||||
DesecDnsProvider.load(
|
||||
final bool isAuthotized,
|
||||
final bool isAuthorized,
|
||||
) : _adapter = ApiAdapter(
|
||||
isWithToken: isAuthotized,
|
||||
isWithToken: isAuthorized,
|
||||
);
|
||||
|
||||
ApiAdapter _adapter;
|
||||
|
|
|
@ -22,9 +22,9 @@ class ApiAdapter {
|
|||
class DigitalOceanDnsProvider extends DnsProvider {
|
||||
DigitalOceanDnsProvider() : _adapter = ApiAdapter();
|
||||
DigitalOceanDnsProvider.load(
|
||||
final bool isAuthotized,
|
||||
final bool isAuthorized,
|
||||
) : _adapter = ApiAdapter(
|
||||
isWithToken: isAuthotized,
|
||||
isWithToken: isAuthorized,
|
||||
);
|
||||
|
||||
ApiAdapter _adapter;
|
||||
|
|
|
@ -38,9 +38,9 @@ class DigitalOceanServerProvider extends ServerProvider {
|
|||
DigitalOceanServerProvider() : _adapter = ApiAdapter();
|
||||
DigitalOceanServerProvider.load(
|
||||
final String? location,
|
||||
final bool isAuthotized,
|
||||
final bool isAuthorized,
|
||||
) : _adapter = ApiAdapter(
|
||||
isWithToken: isAuthotized,
|
||||
isWithToken: isAuthorized,
|
||||
region: location,
|
||||
);
|
||||
|
||||
|
|
|
@ -38,9 +38,9 @@ class HetznerServerProvider extends ServerProvider {
|
|||
HetznerServerProvider() : _adapter = ApiAdapter();
|
||||
HetznerServerProvider.load(
|
||||
final String? location,
|
||||
final bool isAuthotized,
|
||||
final bool isAuthorized,
|
||||
) : _adapter = ApiAdapter(
|
||||
isWithToken: isAuthotized,
|
||||
isWithToken: isAuthorized,
|
||||
region: location,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue