From e9f13c547112eb763f01102d9220cbd3fd736731 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 15 May 2024 17:58:24 +0300 Subject: [PATCH] fix: Server couldn't install due to a faulty null check --- .../server_installation/server_installation_repository.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logic/cubit/server_installation/server_installation_repository.dart b/lib/logic/cubit/server_installation/server_installation_repository.dart index 72ca5025..d2a23426 100644 --- a/lib/logic/cubit/server_installation/server_installation_repository.dart +++ b/lib/logic/cubit/server_installation/server_installation_repository.dart @@ -222,7 +222,7 @@ class ServerInstallationRepository { } Future restart() async { - final server = getIt().serverDetails!; + final server = getIt().serverInstallation!.serverDetails!; final result = await ServerApi( overrideDomain: