Skip to content

Commit a0304e5

Browse files
committed
7.0.5 release
- [BUG FIX] trace method and params not being recorded if cache trace disable
1 parent 8602913 commit a0304e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rls/packages/API.Library.7.0.5.nupkg

66.7 KB
Binary file not shown.

src/API.Library/API.Library.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<PackageId>API.Library</PackageId>
1313
<Product>API Library</Product>
1414
<Copyright>Central Statistics Office, Ireland</Copyright>
15-
<Version>7.0.4</Version>
15+
<Version>7.0.5</Version>
1616
<Authors>Central Statistics Office, Ireland</Authors>
1717
<SignAssembly>False</SignAssembly>
1818
<RepositoryUrl>https://github.com/CSOIreland/Server-API-Library</RepositoryUrl>
1919
<PackageReleaseNotes>
20-
- [BUG FIX] allow request type for tracing to be null
20+
- [BUG FIX] trace method and params not being recorded if cache trace disable
2121
</PackageReleaseNotes>
2222
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
2323
<RestoreLockedMode>true</RestoreLockedMode>

src/API.Library/Entities/API.Common.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ internal Cookie CheckCookie(string SessionCookieName, HttpContext httpContext)
482482

483483
internal void GatherTraceInformation(dynamic apiRequest, Trace trace)
484484
{
485-
if (ApiServicesHelper.CacheConfig.API_CACHE_TRACE_ENABLED)
485+
if (ApiServicesHelper.ApiConfiguration.API_TRACE_ENABLED)
486486
{
487487
//gather trace information
488488
trace.TrcParams = MaskParameters(apiRequest.parameters.ToString());

0 commit comments

Comments
 (0)