richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

Wrong parameter name in README.md #31

Closed emrealparslan93 closed 6 years ago

emrealparslan93 commented 6 years ago

Hello,

I wanted to report that you've mistyped a response parameter name in README.md.

screen shot 2018-05-15 at 14 33 56

You've used result.token inside call but there is no parameter named result. You need to change token to result 😬 .

farsabbutt commented 6 years ago

yes please change the following line:

.subscribe(token => {

to be:

.subscribe(result => {

richnologies commented 6 years ago

Thanks @emrealparslan93 @farsabbutt for the warning.