vyuldashev / nova-permission

A Laravel Nova tool for Spatie's laravel-permission library
https://novapackages.com/packages/vyuldashev/nova-permission
419 stars 217 forks source link

remove new line at the start of php files #189

Open OwlHowl3 opened 1 year ago

OwlHowl3 commented 1 year ago

There was an extra new line that was breaking API.

mucenica-bogdan commented 1 year ago

@vyuldashev - any chance you can merge this in?

The json parser on the latest version of Nova complains about the leading new line, so API calls fail.

tobidot commented 1 year ago

I just had this breaking laravel/nova 4, because all Inertia request would fail, as it would not send the 'X-Inertia: true' Header anymore after this line had been send.