From 125d76e5f2fd53ed62eb166b0f45df38d1dd6389 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Fri, 21 Nov 2025 10:42:55 +0100 Subject: [PATCH] item result on execute --- Pilz.Net/Api/Server/JobsHandler.cs | 2 +- Pilz.Net/Pilz.Net.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pilz.Net/Api/Server/JobsHandler.cs b/Pilz.Net/Api/Server/JobsHandler.cs index 8b02d3e..da7c107 100644 --- a/Pilz.Net/Api/Server/JobsHandler.cs +++ b/Pilz.Net/Api/Server/JobsHandler.cs @@ -33,7 +33,7 @@ public class JobsHandler(IApiServer server) if (context.HasError) return ApiResult.InternalServerError(); - return ApiResult.Ok(); + return job.ToItemResult(); } protected virtual JobInfo ToClient(Job job) diff --git a/Pilz.Net/Pilz.Net.csproj b/Pilz.Net/Pilz.Net.csproj index 6d4fe02..aeac031 100644 --- a/Pilz.Net/Pilz.Net.csproj +++ b/Pilz.Net/Pilz.Net.csproj @@ -8,7 +8,7 @@ - 2.10.2 + 2.10.3