From 7972b36b724cb9bdbb8b733ce1b69241f7e68130 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Thu, 3 Nov 2022 18:10:28 -0500 Subject: [PATCH] fix assemblyversion lookup --- src/Services/Podcasts/Podcast.MinimalAPI/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs b/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs index 51e1ea6..2053724 100644 --- a/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs +++ b/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs @@ -61,7 +61,7 @@ builder.Services.AddRateLimiter(options => options.AddFixedWindowLimiter("feeds" })); var serviceName = typeof(Program).Assembly.FullName; -var serviceVersion = typeof(Program).GetCustomAttribute()!.InformationalVersion; +var serviceVersion = typeof(Program).Assembly.GetCustomAttribute()!.InformationalVersion; var serviceResource = ResourceBuilder .CreateDefault()