diff --git a/lib/logic/cubit/app_config/app_config_cubit.dart b/lib/logic/cubit/app_config/app_config_cubit.dart index 86b91fb557..d8b8f36e12 100644 --- a/lib/logic/cubit/app_config/app_config_cubit.dart +++ b/lib/logic/cubit/app_config/app_config_cubit.dart @@ -316,7 +316,7 @@ class AppConfigCubit extends Cubit { void createServerAndSetDnsRecords() async { AppConfigState _stateCopy = state; - var onSuccess = (serverDetails) async { + var onSuccess = (HetznerServerDetails serverDetails) async { await repository.createDnsRecords( serverDetails.ip4, state.cloudFlareDomain!,