Skip to content

Commit

Permalink
Update src/OracleService/Protocols/OracleHttpsProtocol.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
  • Loading branch information
erikzhang and superboyiii authored Apr 9, 2021
1 parent 7aff8ee commit a05a74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OracleService/Protocols/OracleHttpsProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public OracleHttpsProtocol()
{
CustomAttributeData attribute = Assembly.GetExecutingAssembly().CustomAttributes.First(p => p.AttributeType == typeof(AssemblyInformationalVersionAttribute));
string version = (string)attribute.ConstructorArguments[0].Value;
client.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("Neo Oracle Service", version));
client.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("NeoOracleService", version));
}

public void Configure()
Expand Down

0 comments on commit a05a74f

Please sign in to comment.