From e97d52bad5733eda71a2d5f1c78c9ecd57039906 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Sun, 6 Aug 2023 18:24:41 -0300 Subject: [PATCH] fix: Replace runSystemRebuild with rebootSystem --- .../api_maps/graphql_maps/server_api/server_actions_api.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logic/api_maps/graphql_maps/server_api/server_actions_api.dart b/lib/logic/api_maps/graphql_maps/server_api/server_actions_api.dart index 131a6a6d..05269d33 100644 --- a/lib/logic/api_maps/graphql_maps/server_api/server_actions_api.dart +++ b/lib/logic/api_maps/graphql_maps/server_api/server_actions_api.dart @@ -24,11 +24,11 @@ mixin ServerActionsApi on GraphQLApiMap { DateTime? time; try { final GraphQLClient client = await getClient(); - final response = await client.mutate$RunSystemRebuild(); + final response = await client.mutate$RebootSystem(); if (response.hasException) { print(response.exception.toString()); } - if (response.parsedData!.runSystemRebuild.success) { + if (response.parsedData!.rebootSystem.success) { time = DateTime.now(); } } catch (e) {