Skip to content

Commit f580ac8

Browse files
authored
fixed user agent version (#34)
1 parent bc8b262 commit f580ac8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Solcast/Clients/BaseClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ private static string GetAssemblyVersion()
2929
typeof(AssemblyInformationalVersionAttribute)
3030
);
3131

32-
return attribute?.InformationalVersion ?? "1.0.0";
32+
var version = attribute?.InformationalVersion ?? "1.0.0";
33+
return version.Split('+')[0];
3334
}
3435
}
3536
}

0 commit comments

Comments
 (0)