Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit c1eb20a

Browse files
committed
Report correct version (fixes #31)
1 parent 37c3b02 commit c1eb20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public static IApplicationBuilder UseStormpath(this IApplicationBuilder app)
194194

195195
private static string GetLibraryUserAgent(Assembly hostingAssembly)
196196
{
197-
var libraryVersion = typeof(StormpathMiddleware).GetTypeInfo().Assembly.GetName().Version;
197+
var libraryVersion = typeof(StormpathAuthenticationMiddleware).GetTypeInfo().Assembly.GetName().Version;
198198
var libraryToken = $"stormpath-aspnetcore/{libraryVersion.Major}.{libraryVersion.Minor}.{libraryVersion.Build}";
199199

200200
var hostVersion = hostingAssembly.GetName().Version;

0 commit comments

Comments
 (0)