codecasts / laravel-jwt

Dead simple, plug and play JWT API Authentication for Laravel (5.4+)
MIT License
234 stars 27 forks source link

Fix vendor:publish "Can't locate path: <0>" bug #4

Closed mrberggg closed 7 years ago

mrberggg commented 7 years ago

Was getting a bug, 'Can't locate path: <0>', when running 'php artisan vendor:publish --provider="Codecasts\Auth\JWT\ServiceProvider"'. This is the fix to that error. Has not been tested on multiple versions of Laravel but looks simple enough. The publishes method should take a key => value array, not a simple text array as was previously in the code.

hernandev commented 7 years ago

@mrberggg thanks for this.