Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Artamonov committed Oct 25, 2022
1 parent b4e4c9b commit 0a6e270
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Tinkoff.InvestApi/InvestApiClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ public static class InvestApiClientExtensions
var credentials = CallCredentials.FromInterceptor((_, metadata) =>
{
metadata.Add("Authorization", $"Bearer {accessToken}");
metadata.Add("x-app-name", appName);
if (appName != null)
{
metadata.Add("x-app-name", appName);
}
return Task.CompletedTask;
});
Expand Down
2 changes: 1 addition & 1 deletion Tinkoff.InvestApi/Tinkoff.InvestApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RootNamespace>Tinkoff.InvestApi</RootNamespace>
<AssemblyName>Tinkoff.InvestApi</AssemblyName>
<PackageId>Tinkoff.InvestApi</PackageId>
<PackageVersion>0.2.0</PackageVersion>
<PackageVersion>0.3.0</PackageVersion>
<Company>Tinkoff</Company>
<Description>SDK для работы с grpc-интерфейсом торговой платформы Тинькофф Инвестиции</Description>
<PackageProjectUrl>https://www.tinkoff.ru/invest/</PackageProjectUrl>
Expand Down

0 comments on commit 0a6e270

Please sign in to comment.