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

Commit

Permalink
Report correct version (fixes #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarbettini committed Nov 2, 2016
1 parent 37c3b02 commit c1eb20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public static IApplicationBuilder UseStormpath(this IApplicationBuilder app)

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

var hostVersion = hostingAssembly.GetName().Version;
Expand Down

0 comments on commit c1eb20a

Please sign in to comment.