box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
222 stars 59 forks source link

fix: Fix OAuth login #364

Closed arjankowski closed 2 years ago

arjankowski commented 2 years ago

fix for #363 https://github.com/box/boxcli/issues/363

The problem was that during OAauth login, when we tried to set value on analyticsClient under the hood, we were receiving an error. It was because the analytics client object wasn't never set to any value.

Additionally, thanks to this added lines, now login request will append to header a correct CLI version number.