fix: Server couldn't install due to a faulty null check

This commit is contained in:
Inex Code 2024-05-15 17:58:24 +03:00
parent 1e024a236b
commit e9f13c5471

View file

@ -222,7 +222,7 @@ class ServerInstallationRepository {
}
Future<ServerHostingDetails> restart() async {
final server = getIt<ResourcesModel>().serverDetails!;
final server = getIt<WizardDataModel>().serverInstallation!.serverDetails!;
final result = await ServerApi(
overrideDomain: