Replies: 1 comment
-
Any exception? Why? Better $permissions =Permission::whereIn('id', array_keys($permissionsRequest))->get(); Even better just $permissions = array_keys($permissionsRequest); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm making an application in laravel .... where I use syncPermissions() to insert the conditions, but syncPermissions() doesn't do the insert into the database...
the code :
I've already done the debug and all variables are filled as expected... Thanks!
Beta Was this translation helpful? Give feedback.
All reactions