Fix obsolete property use
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 15:15:12 +01:00
parent 11883513e4
commit 4566319849
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ namespace ln.http.api
methodCache = new EndpointMethodCache();
methodCaches.Add(route, methodCache);
AddSimpleRoute(route, (request) => {
MethodInfo methodInfo = methodCache[Enum.Parse<HttpMethod>(request.Method)];
MethodInfo methodInfo = methodCache[request.HttpMethod];
return MapRequest(request, methodInfo);
});
}