[#180] sdk/client: Set session token field in all requests

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-27 16:27:16 +03:00 committed by Alex Vanin
parent b2ba0eef07
commit 7f0f42bc30

View file

@ -134,6 +134,8 @@ func v2MetaHeaderFromOpts(options callOptions) *v2session.RequestMetaHeader {
meta.SetBearerToken(options.bearer.ToV2())
}
meta.SetSessionToken(options.session.ToV2())
return meta
}