jybp/ebay

2nd example in README.md appears to incorrect

Closed this issue · 1 comments

The example for the authorization code grant flow has this line:

tok, err := oauthConf.Exchange(ctx, authCode)

It appears oauthConf doesn't exist and should be replaced with cfg, like this:

tok, err := cfg.Exchange(ctx, authCode)

jybp commented

Good catch, thanks
a26f4f6