We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I was trying to create a user from the API and came across this problem. When using the create function, the data is always restructured as below:
$data = [ 'data' => (array)$data, 'trigger' => $triggers, ];
But in some cases the API accepts the data in a different way. For example for Users API the data should be structured as follows:
$data = [ 'users' => (array)$data ];
Users API
The text was updated successfully, but these errors were encountered:
hi! can you send a PR for this? I think you just need to override the Users module create and update methods to structure the data differently!
Users
Sorry, something went wrong.
No branches or pull requests
I was trying to create a user from the API and came across this problem.
When using the create function, the data is always restructured as below:
But in some cases the API accepts the data in a different way.
For example for Users API the data should be structured as follows:
Users API
The text was updated successfully, but these errors were encountered: