gerardojbaez / laraplans

SaaS style recurring plans for Laravel.
http://laraplans.readthedocs.io
MIT License
180 stars 81 forks source link

Wrong plan subscription column reference for user #30

Closed samtoya closed 6 years ago

samtoya commented 6 years ago

The method (byUser) in the PlanSubscription model has the wrong reference to the database column,

You used user_id instead of subscribable_id

It's on line 317 in the PlanSubscription model, please fix this in your next update.

I'll share with you how I'm using the package when I'm done with my project.

Thanks.

gerardojbaez commented 6 years ago

Thanks for your bug report!