Skip to content

Commit 859d5bf

Browse files
authored
Merge pull request #318 from Senparc/Develop
[2024-11-28] v3.0.1-beta3 Add UseLowerCaseApiName property for Senpar…
2 parents 9d340b8 + 3fe4e46 commit 859d5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Senparc.CO2NET.WebApi/WebApiEngines/WebApiEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private async Task BuildApiMethodForOneThread(IGrouping<string, KeyValuePair<str
311311
string apiPath = GetApiPath(apiBindInfo, showStaticApiState);
312312

313313
//强制所有名称小写
314-
if (_useLowerCaseApiName.HasValue && _useLowerCaseApiName.Value == true)
314+
if (_useLowerCaseApiName)
315315
{
316316
apiPath = apiPath.ToLower();
317317
}

0 commit comments

Comments
 (0)