fix assemblyversion lookup

pull/178/head
Chet Husk 2022-11-03 18:10:28 -05:00
parent 00447f7738
commit 7972b36b72
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ builder.Services.AddRateLimiter(options => options.AddFixedWindowLimiter("feeds"
}));
var serviceName = typeof(Program).Assembly.FullName;
var serviceVersion = typeof(Program).GetCustomAttribute<AssemblyInformationalVersionAttribute>()!.InformationalVersion;
var serviceVersion = typeof(Program).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()!.InformationalVersion;
var serviceResource =
ResourceBuilder
.CreateDefault()