[v6] Possible bug on $user->syncRoles($array) #2529
Closed
helderneves91
started this conversation in
General
Replies: 1 comment
-
Closing: integers should be passed as integers not numeric strings, else they get treated as names: #2530 |
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.
-
Hello, after upgrading to v6, I can't sync an array of role ids to an user.
As far I know, the v6 doesn't break the sync() method right? Am I missing something?
Controller
Request
dd() the $validated_data($roles)
The error (the role exists by the way)
Beta Was this translation helpful? Give feedback.
All reactions