diff --git a/Pilz.Net/Api/ApiServer.cs b/Pilz.Net/Api/ApiServer.cs index e5b12a9..3af9c5d 100644 --- a/Pilz.Net/Api/ApiServer.cs +++ b/Pilz.Net/Api/ApiServer.cs @@ -59,7 +59,6 @@ public class ApiServer(string apiUrl) : IApiServer // Sanity checks if (method.GetCustomAttribute() is not MessageHandlerAttribute attribute - || method.GetParameters().FirstOrDefault() is not ParameterInfo parameter || !method.ReturnType.IsAssignableTo(typeof(ApiResult))) { if (throwOnError)