From d78967604384c100156fba4422f43c6fa33d41bb Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Sat, 3 Jun 2023 20:36:07 +0200 Subject: [PATCH] Fix null options --- .../Endpoints/WorkflowDefinitions/Post/Endpoint.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Post/Endpoint.cs b/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Post/Endpoint.cs index 0edc76162..63851db34 100644 --- a/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Post/Endpoint.cs +++ b/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Post/Endpoint.cs @@ -8,6 +8,7 @@ using JetBrains.Annotations; using Medallion.Threading; using System.Text.Json; using Elsa.Workflows.Core.Contracts; +using Elsa.Workflows.Core.Models; using Elsa.Workflows.Core.Serialization.Converters; using Elsa.Workflows.Management.Contracts; using Microsoft.AspNetCore.Http; @@ -88,7 +89,7 @@ internal class Post : ElsaEndpoint