diff --git a/implement/elm-time/Platform/WebService/StartupAdminInterface.cs b/implement/elm-time/Platform/WebService/StartupAdminInterface.cs index 5b65768f..709b0697 100644 --- a/implement/elm-time/Platform/WebService/StartupAdminInterface.cs +++ b/implement/elm-time/Platform/WebService/StartupAdminInterface.cs @@ -662,7 +662,7 @@ async System.Threading.Tasks.Task deployElmApp(bool initElmAppState) apiRoute.methods .FirstOrDefault(m => string.Equals(m.Key, context.Request.Method, StringComparison.InvariantCultureIgnoreCase)); - if (matchingMethod.Value == null) + if (matchingMethod.Value is not { } matchingMethodDelegate) { var supportedMethodsNames = apiRoute.methods.Keys.Select(m => m.ToUpperInvariant()).ToList(); @@ -683,7 +683,7 @@ async System.Threading.Tasks.Task deployElmApp(bool initElmAppState) return; } - matchingMethod.Value?.Invoke(context, publicAppHost); + await matchingMethodDelegate.Invoke(context, publicAppHost); return; } diff --git a/implement/elm-time/Program.cs b/implement/elm-time/Program.cs index 21d90206..e13c884a 100644 --- a/implement/elm-time/Program.cs +++ b/implement/elm-time/Program.cs @@ -17,7 +17,7 @@ namespace ElmTime; public class Program { - public static string AppVersionId => "2023-06-16"; + public static string AppVersionId => "2023-06-18"; private static int AdminInterfaceDefaultPort => 4000; diff --git a/implement/elm-time/elm-time.csproj b/implement/elm-time/elm-time.csproj index 12cdb5fd..4500849b 100644 --- a/implement/elm-time/elm-time.csproj +++ b/implement/elm-time/elm-time.csproj @@ -5,8 +5,8 @@ net7.0 ElmTime elm-time - 2023.0616.0.0 - 2023.0616.0.0 + 2023.0618.0.0 + 2023.0618.0.0 enable true