We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1f44e commit 4909d7bCopy full SHA for 4909d7b
src/WebJobs.Script.WebHost/Management/WebFunctionsManager.cs
@@ -164,7 +164,9 @@ await functionMetadata
164
public async Task<(bool, FunctionMetadataResponse)> TryGetFunction(string name, HttpRequest request)
165
{
166
var hostOptions = _applicationHostOptions.CurrentValue.ToHostOptions();
167
- var functionMetadata = _functionMetadataProvider.GetFunctionMetadata(false).FirstOrDefault(metadata => metadata.Name == name);
+ var functionMetadata = _functionMetadataProvider.GetFunctionMetadata(true)
168
+ .FirstOrDefault(metadata => metadata.Name == name);
169
+
170
if (functionMetadata != null)
171
172
string routePrefix = await GetRoutePrefix(hostOptions.RootScriptPath);
0 commit comments